Type: Default 1000ms 256MiB

学会购物

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题面背景

学会购物是每个孩子成长中的必修课,小北为了锻炼自己的生活能力,帮妈妈外出购物

题目描述

妈妈给了小北 $x$ 元钱, 购买的商品价格为 $y$ 元, 如果钱不够将不会购买,请问小北购物完能带多少钱回家?

输入格式

输入一行两个整数 $x, y$ 分别表示最初小北拥有的钱和购买商品的价格。

输出格式

输出一个整数表示最终小北剩余多少钱

样例 #1

样例输入 #1

100 30

样例输出 #1

70

样例 #2

样例输入 #2

100 300

样例输出 #2

100

提示

  • $ 1 \le x, y\le 1000$