Messi Goals
Submit solution
Points:
1
Time limit:
2.0s
Memory limit:
256M
Problem types
Allowed languages
Python
Write a program that reads three integers representing the number of goals scored in three competitions.
Print the total number of goals.
Input
The input contains three integers on one line:
- goals in La Liga
- goals in Copa del Rey
- goals in Champions League
Output
Output the total number of goals.
Sample Input
5 10 2
Sample Output
17
Comments