LCC '24 Contest 1 J1 - Counting Money
View as PDFBob (the penguin 🐧) wants to purchase halloween treats and decorations! However, he realizes that he only has  quarters (25 cents) and 
 dimes (10 cents) and no other coins. Since math isn't his strong suit, please help him find the number of cents he has to plan his halloween spending.
Input Specification
The input will contain two space-separated integers , representing the number of quarters and dimes, respectively.
Output Specification
Output one integer, representing the number of cents he has in total. Note that you may need to use long in Java or long long in C++.
Subtasks
Subtask 1 [25%]
Subtask 2 [75%]
Sample Input 1
2 3Sample Output 1
80Sample Input 2
100000000 100000000Sample Output 2
3500000000Sample Explanation 2
Note that the answer  exceeds the standard integer limit.
Comments