16. Chai and Samosa Bill

Acceptance — 0 accepted 0 submissions

Easy
BasicsMath
No companies listed
At Raju's tea stall near the college gate, one cup of chai costs 12 rupees and one samosa costs 15 rupees.

Your friends ordered c cups of chai and s samosas. Help Raju calculate the total bill.

Input Format
A single line with two integers c and s separated by a space.

Output Format
Print the total bill in rupees.

Constraints
• 0 ≤ c ≤ 1000
• 0 ≤ s ≤ 1000

Example 1

Input
2 3
Output
69

Explanation 2 chai = 24 rupees, 3 samosas = 45 rupees, total = 69.

Example 2

Input
5 0
Output
60

Explanation Only chai: 5 × 12 = 60.

Example 3

Input
0 4
Output
60

Explanation Only samosas: 4 × 15 = 60.

Acceptance —
Accepted 0
Submissions 0
Auto-save
Saved Ln 1, Col 1
Submit a solution to see its status here.
Input
Expected Output
69
No results yet
Run your code to test it against the sample cases.
Problem List