#abc084a. [abc084_a]New Year

[abc084_a]New Year

Problem Statement

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

Constraints

  • 1M231≤M≤23
  • MM is an integer.

Input

Input is given from Standard Input in the following format:

MM

Output

If we have xx hours until New Year at MM o'clock on 3030th, December, print xx.


Sample Input 1

21

Sample Output 1

27

We have 2727 hours until New Year at 2121 o'clock on 3030th, December.


Sample Input 2

12

Sample Output 2

36