LearnPy Hub
← Variables problems
Easy

Pocket Money Left

Read your pocket money and the amount you spent on snacks and on a book. Print how much is left.

Input

Three integers: money, snacks, book.

Output

One integer.

Sample 1

Input
500
120
200
Output
180

Sample 2

Input
100
0
0
Output
100
solution.py
Output appears here
Pocket Money Left · Python practice problem · LearnPy Hub