LearnPy Hub
← Input problems
Easy

Three Numbers on One Line

Read three integers from one line with map(int, input().split()) and print their sum and their product on one line.

Input

Three integers.

Output

Two numbers.

Sample 1

Input
1 2 3
Output
6 6

Sample 2

Input
0 5 9
Output
14 0
solution.py
Output appears here
Three Numbers on One Line · Python practice problem · LearnPy Hub