Is baggage allowed?

Airport terminal checks for carry-on baggage to be at most 5kg. Anything higher than that has to be fined. The passenger needs to pay 20 times the extra kilograms of baggage they carry.
The airport asks you to automate that process.
You are given an integer n, which represents the carry-on baggage weight of a passenger.
If the weight does not exceed 5kg, the system should output Welcome aboard!. Otherwise, the system should print the amount the passenger needs to pay.
Please pay 100 to proceed
Welcome aboard!


Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue