P19525 [AtCoder] How many hours do we have until New Year at M o'clock (24-hour notation) on 30th, December?
普及-
题目描述

How many hours do we have until New Year at M o'clock (24-hour notation) on 30th, December?

-----Constraints-----
- 1≤M≤23
- M is an integer.

-----Input-----
Input is given from Standard Input in the following format:
M

-----Output-----
If we have x hours until New Year at M o'clock on 30th, December, print x.

-----Sample Input-----
21

-----Sample Output-----
27

We have 27 hours until New Year at 21 o'clock on 30th, December.

输入格式

见题面

输出格式

见题面

样例输入
21
样例输出
27