Tìm số dư

View as PDF

Submit solution

Points: 0.10
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Author:
Problem type

Giới thiệu: Đây là đề Traning Python

Viết chương trình nhập vào ~2~ số nguyên ~a~ và ~b~. Tìm và in ra phần dư của phép toán ~a~ / ~b~.

Input

~2~ dòng mỗi dòng tương ứng ~2~ số nguyên ~a~ và ~b~

Output

Giá trị dư của phép toán ~a~ / ~b~

Examples

Input

5
2

Output

1

Comments

Please read the guidelines before commenting.


There are no comments at the moment.