P27920 [洛谷] [GESP202403 Level 1] Buying Books by Xiao Yang
普及-
题目描述

Problem Description

Xiao Yang has saved some pocket money to buy books. The price of a single book is $13$ yuan. Write a program to calculate how many books Xiao Yang can buy with his pocket money and how much money will be left.

Input Format

Input a positive integer $m$, representing the amount of pocket money Xiao Yang has.

Output Format

Output consists of two lines:
- The first line is the number of books that can be purchased.
- The second line is the remaining amount of pocket money.

Sample Input and Output

Sample Input #1

100

Sample Output #1

7
9

Sample Input #2

199

Sample Output #2

15
4

Notes

Data Range and Constraints

For all test cases, it is guaranteed that $0 < m < 200$.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
100
样例输出
7 9