AtCoder Beginner Contest 084
A
New Year
AtCoder
⌀ 0
原题
←B →
翻译中…

Problem Statement

翻译中…

How many hours do we have until New Year at $M$ o'clock (24-hour notation) on $30$th, 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 $30$th, December, print $x$.

翻译中…

样例

Input #1
21
Output #1
27
We have $27$ hours until New Year at $21$ o'clock on $30$th, December.
Input #2
12
Output #2
36
题目信息
题号
abc084_a
时间限制
2 s
内存限制
256 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。