Submit solution
Points:
4
Time limit:
1.0s
Memory limit:
16M
Author:
Problem types
Allowed languages
Blockly, C, C++, Java, Pascal, Python
Journey to Space
An astronaut needs your help! He wants to calculate:
How many stars he sees in the sky if he observes stars in two areas. How many stars he would see in total if he multiplies the number he observes by 3 while using a telescope. Steps:
The program will read from the input two positive integers, which will represent the number of stars in the two areas. Then, it will print to the output the total number of stars the astronaut sees from the two areas. Finally, it will print the total number of stars the astronaut sees using a telescope.
Examples
input
10
30
output
40
120
input
15
35
output
50
150
Comments
τι φαση!
brooooooooooooo
LIGO MONO
e kala ontos
HTAN LIGO DISKOLO!!!!!!!!!!!!!
o