002. Triple Product
002. Triple Product
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output
Basic math operations are very important in programming applications. In this problem, your task is to calculate the product of two integers, multiplied by three.
Input
The first line of input contains a positive integer a no greater than 2000. The second line of input contains a positive integer b no greater than 2000.
Output
Print a single positive integer c: the product of a and b multiplied by 3.
Example
input
Copy
3 5
output
Copy
45
Comments
Post a Comment
Please give us your valuable feedback