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.
[{"code": "time=int(input())\nAns=48-time\nprint(Ans)", "passed": true, "time": 0.15, "memory": 14228.0, "status": "done"}, {"code": "#\u300012\u670830\u65e5\u306eM\u6642\u304b\u3089\u6b21\u306e\u5e74\u306b\u306a\u308b\u307e\u3067\u306f\u4f55\u6642\u9593\u304b\u3001\u6c42\u3081\u3066\u304f\u3060\u3055\u3044\u3002\n\nM = int(input())\nprint(48 - M) #30\u65e531\u65e5\u306e\u5408\u8a0848\u6642\u9593\u304b\u3089\u73fe\u5728\u306e\u6642\u523b\u3092\u5f15\u304f\u3068\u3001\u6b8b\u308a\u6642\u9593\u304c\u51fa\u305b\u308b\u3002", "passed": true, "time": 0.24, "memory": 14220.0, "status": "done"}, {"code": "print(48-int(input()))", "passed": true, "time": 0.16, "memory": 14192.0, "status": "done"}, {"code": "m=int(input())\nprint(48-m)", "passed": true, "time": 0.15, "memory": 14064.0, "status": "done"}, {"code": "# 12\u6708 30\u65e5\u306e M\u6642\u304b\u3089\u6b21\u306e\u5e74\u306b\u306a\u308b\u307e\u3067\u304c x\u6642\u9593\u306e\u3068\u304d\u3001x\u3092\u51fa\u529b\nM = int(input())\n\nprint(24 + (24 - M))", "passed": true, "time": 0.15, "memory": 14220.0, "status": "done"}, {"code": "# 084a\n\nM = int(input())\n\nprint((24 + (24 - M)))\n", "passed": true, "time": 0.85, "memory": 14084.0, "status": "done"}, {"code": "print(48-int(input()))", "passed": true, "time": 0.16, "memory": 14040.0, "status": "done"}, {"code": "N = int(input())\nprint((48 - N))\n", "passed": true, "time": 0.15, "memory": 14088.0, "status": "done"}, {"code": "n = int(input())\nprint(48 - n)", "passed": true, "time": 0.15, "memory": 14152.0, "status": "done"}, {"code": "# 12\u670830\u65e5\u306e M \u6642\u304b\u3089\u6b21\u306e\u5e74\u306b\u306a\u308b\u307e\u3067\u306f\u4f55\u6642\u9593\u304b\u3001\u6c42\u3081\u3066\u304f\u3060\u3055\u3044\u3002\n\n# \u5236\u7d04\n# 1 \u2266 M \u2266 23\n# \u5165\u529b\u306f\u5168\u3066\u6574\u6570\n\n# \u6a19\u6e96\u5165\u529b\u304b\u3089 M\u306e\u5024\u3092\u53d6\u5f97\u3057\u3001\u51fa\u529b\u3059\u308b\nm = int(input())\n\n# \u6b8b\u308a\u4f55\u6642\u9593\u304b\u8a08\u7b97\u3057\u3001\u51fa\u529b\u3059\u308b\nresult = 48 - m\nprint(result)\n", "passed": true, "time": 0.15, "memory": 14192.0, "status": "done"}, {"code": "t = int(input())\nprint(24 + (24 - t))", "passed": true, "time": 0.17, "memory": 14088.0, "status": "done"}, {"code": "M = int(input())\n\nanswer = 48 - M\nprint(answer)", "passed": true, "time": 0.14, "memory": 14300.0, "status": "done"}, {"code": "m = int(input())\nprint(48-m)", "passed": true, "time": 0.14, "memory": 14288.0, "status": "done"}, {"code": "# \u5165\u529b\nM = int(input())\n\n# \u51e6\u7406\nx = 48 - M\n\n# \u51fa\u529b\nprint(x)", "passed": true, "time": 0.23, "memory": 14060.0, "status": "done"}, {"code": "# A - New Year\n\n# 12/30\u306eM\u6642\u304b\u3089\u6b21\u306e\u5e74\u306b\u306a\u308b\u306e\u306f\u4f55\u6642\u9593\u5f8c\u304b\u51fa\u529b\u3059\u308b\n\n\nM = int(input())\n\nprint(((24 - M) + 24))\n", "passed": true, "time": 0.14, "memory": 14284.0, "status": "done"}, {"code": "m = int(input())\n\nprint(48 - m)", "passed": true, "time": 0.15, "memory": 14188.0, "status": "done"}, {"code": "N = int(input())\nprint((24 - N + 24))\n", "passed": true, "time": 0.22, "memory": 14152.0, "status": "done"}, {"code": "n = int(input())\nr = 24 - n\nprint((24+r))\n", "passed": true, "time": 0.14, "memory": 14208.0, "status": "done"}, {"code": "M = int(input())\n\nprint(48-M)", "passed": true, "time": 0.14, "memory": 14196.0, "status": "done"}, {"code": "M = int(input())\n\nprint(24 + ( 24 - M))", "passed": true, "time": 0.23, "memory": 14076.0, "status": "done"}, {"code": "print(48 - int(input()))", "passed": true, "time": 0.24, "memory": 14028.0, "status": "done"}, {"code": "M = int(input())\n\nanswer = 48 - M\n\nprint(answer)", "passed": true, "time": 0.14, "memory": 14152.0, "status": "done"}, {"code": "m = int(input())\nhours = 24\nprint(24-m+24)", "passed": true, "time": 0.14, "memory": 14168.0, "status": "done"}, {"code": "print(48-int(input()))", "passed": true, "time": 0.14, "memory": 14264.0, "status": "done"}, {"code": "from datetime import datetime, date\n\ndt = datetime(date.today().year, 12, 30, int(input()), 0, 0)\ntd = abs(dt - datetime(dt.year + 1, 1, 1))\nanswer = int(td.total_seconds() / (60 * 60))\nprint(answer)", "passed": true, "time": 0.16, "memory": 16380.0, "status": "done"}, {"code": "M = int(input())\n\n# 31\u65e5\u5206\u306f+24\u300130\u65e5\u5206\u306f24-M\nprint((48 - M))\n", "passed": true, "time": 0.14, "memory": 14128.0, "status": "done"}, {"code": "m=int(input())\nprint(48-m)", "passed": true, "time": 0.14, "memory": 14044.0, "status": "done"}, {"code": "M=int(input())\nprint(48-M)", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}, {"code": "a=int(input())\nprint(48-a)", "passed": true, "time": 0.14, "memory": 14180.0, "status": "done"}, {"code": "M = int(input())\n\nprint(48 - M)", "passed": true, "time": 0.14, "memory": 14084.0, "status": "done"}, {"code": "print(48-int(input()))", "passed": true, "time": 0.26, "memory": 14204.0, "status": "done"}, {"code": "a=int(input())\nprint((24+(24-a)))\n", "passed": true, "time": 0.14, "memory": 14248.0, "status": "done"}, {"code": "print((48-int(input())))\n", "passed": true, "time": 0.15, "memory": 14172.0, "status": "done"}, {"code": "m = int(input())\nprint((24 - m + 24))\n", "passed": true, "time": 0.21, "memory": 14292.0, "status": "done"}, {"code": "print(48-int(input()))", "passed": true, "time": 0.19, "memory": 14284.0, "status": "done"}, {"code": "m = int(input())\nprint(48 - m)", "passed": true, "time": 0.2, "memory": 14264.0, "status": "done"}, {"code": "n=int(input())\n\nprint(48-n)", "passed": true, "time": 0.61, "memory": 14024.0, "status": "done"}, {"code": "#!/usr/bin/env python3\nimport sys\nsys.setrecursionlimit(10**6)\n\nm = int(input())\n\nprint((24-m+24))\n", "passed": true, "time": 0.24, "memory": 14252.0, "status": "done"}, {"code": "# \u6307\u5b9a\u6642\u523b\u306e\u53d6\u5f97\nM = int(input())\n \n# 12/30\u306e\u6b8b\u308a\u6642\u9593\u306812/31\u306e24\u6642\u9593\u3092\u52a0\u7b97\u3057\u7d50\u679c\u3092\u51fa\u529b\ntotal =  (24 - M) + 24\nprint(total)", "passed": true, "time": 0.19, "memory": 14208.0, "status": "done"}, {"code": "print(48-int(input()))", "passed": true, "time": 0.22, "memory": 14280.0, "status": "done"}, {"code": "m = int(input())\n\nans = 24-m + 24\n\nprint(ans)", "passed": true, "time": 0.14, "memory": 14208.0, "status": "done"}, {"code": "h = int(input())\nprint(48-h)", "passed": true, "time": 0.3, "memory": 14084.0, "status": "done"}, {"code": "print((48-int(input())))\n", "passed": true, "time": 0.15, "memory": 14084.0, "status": "done"}, {"code": "M = int(input())\n\nprint( 24 +(24 - M))", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}, {"code": "M = int(input())\n\nx = 24 - M\nprint(x + 24)", "passed": true, "time": 0.15, "memory": 14192.0, "status": "done"}, {"code": "#   AtCoder abc084 a\n#   \u30b9\u30c8\u30ec\u30c3\u30c1\u8ab2\u984c\n\n#   \u5165\u529b\nm = int(input())\n\n#   \u51e6\u7406(m + x = 48)\nx = 48 - m\n\n#   \u51fa\u529b\nprint(x)\n", "passed": true, "time": 0.23, "memory": 14060.0, "status": "done"}, {"code": "# M\u6642\u306e\u6642\u9593\u3092\u6574\u6570\u3067\u5165\u529b\nM = int(input())\n# 12\u670830\u65e5\u306eM\u6642\u304b\u30891\u67081\u65e50\u6642\u307e\u3067\u306e\u6642\u9593\u3092\u51fa\u529b\nprint(48 - M)", "passed": true, "time": 0.14, "memory": 14056.0, "status": "done"}, {"code": "M=int(input())\n\nx=24+(24-M)\n\nprint(x)", "passed": true, "time": 0.14, "memory": 14256.0, "status": "done"}, {"code": "# \u5165\u529b\nM = int(input())\n\n# 48\u6642\u9593\u304b\u308912\u670830\u65e5\u306eM\u6642\u3092\u3072\u304f\ntime_remaining = 48 - M\n\n# \u51fa\u529b\nprint(time_remaining)", "passed": true, "time": 0.15, "memory": 14160.0, "status": "done"}, {"code": "print(48 - int(input()))", "passed": true, "time": 0.14, "memory": 14268.0, "status": "done"}, {"code": "M = int(input())\nprint(48-M)", "passed": true, "time": 0.14, "memory": 14260.0, "status": "done"}, {"code": "M=int(input())\nprint(48-M)", "passed": true, "time": 0.14, "memory": 14048.0, "status": "done"}, {"code": "n=int(input())\nprint(48-n)", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "M = int(input())\nprint(48 - M)", "passed": true, "time": 0.14, "memory": 14056.0, "status": "done"}, {"code": "print(48-int(input()))", "passed": true, "time": 0.14, "memory": 14132.0, "status": "done"}, {"code": "m=int(input())\nprint(24+24-m)", "passed": true, "time": 0.14, "memory": 14060.0, "status": "done"}, {"code": "M = int(input())\nprint(48 -M)", "passed": true, "time": 0.14, "memory": 14292.0, "status": "done"}, {"code": "M = int(input())\n\nx = 24 + (24 - M)\nprint(x)", "passed": true, "time": 0.14, "memory": 14072.0, "status": "done"}, {"code": "# A - New Year\n# https://atcoder.jp/contests/abc084/tasks/abc084_a\n\nM = int(input())\n\nprint((48 - M))\n", "passed": true, "time": 0.14, "memory": 14212.0, "status": "done"}, {"code": "a = int(input())\nprint(48-a)", "passed": true, "time": 0.15, "memory": 14060.0, "status": "done"}, {"code": "print(48 - int(input()))", "passed": true, "time": 0.15, "memory": 14012.0, "status": "done"}, {"code": "# \u5165\u529b\nM = int(input())\n\n# \u51fa\u529b\nif 1 <= M <=23:\n    print(48 - M)", "passed": true, "time": 0.15, "memory": 14292.0, "status": "done"}, {"code": "m = int(input())\n\nprint((24 - m + 24))\n", "passed": true, "time": 0.15, "memory": 14156.0, "status": "done"}, {"code": "def main():\n  time=input()\n  remaining_hour = 48 - int(time)\n  \n  print(remaining_hour)\n\ndef __starting_point():\n  main()\n__starting_point()", "passed": true, "time": 0.15, "memory": 14256.0, "status": "done"}, {"code": "a = int(input())\na = 48 - a\nprint(a)", "passed": true, "time": 0.14, "memory": 14064.0, "status": "done"}, {"code": "M = int(input())\nprint(48-M)", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "m = int(input())\nprint(48-m)", "passed": true, "time": 0.14, "memory": 14216.0, "status": "done"}, {"code": "M = int(input())\nprint(48-M)", "passed": true, "time": 0.24, "memory": 14228.0, "status": "done"}, {"code": "n = int(input())\nprint(48-n)", "passed": true, "time": 0.16, "memory": 14152.0, "status": "done"}, {"code": "m = int(input())\nprint(48-m)", "passed": true, "time": 0.14, "memory": 14020.0, "status": "done"}, {"code": "M=int(input())\n\nprint((24-M)+24)", "passed": true, "time": 0.14, "memory": 14056.0, "status": "done"}, {"code": "print(48 - int(input()))", "passed": true, "time": 0.15, "memory": 14256.0, "status": "done"}, {"code": "m = int(input())\n\nx = 48 - m\n\nprint(x)", "passed": true, "time": 0.14, "memory": 14200.0, "status": "done"}, {"code": "print(48-int(input()))", "passed": true, "time": 0.23, "memory": 14044.0, "status": "done"}, {"code": "n=int(input())\nprint(48-n)", "passed": true, "time": 0.14, "memory": 14104.0, "status": "done"}, {"code": "print(48-int(input()))", "passed": true, "time": 0.14, "memory": 13992.0, "status": "done"}, {"code": "print(48-int(input()))", "passed": true, "time": 0.14, "memory": 14044.0, "status": "done"}, {"code": "print(48-int(input()))", "passed": true, "time": 0.14, "memory": 14188.0, "status": "done"}, {"code": "m=int(input())\nprint(48-m)", "passed": true, "time": 0.14, "memory": 14148.0, "status": "done"}, {"code": "n=int(input())\nprint(48-n)", "passed": true, "time": 0.14, "memory": 14276.0, "status": "done"}, {"code": "m = int(input())\nprint((48 - m))\n", "passed": true, "time": 0.14, "memory": 14260.0, "status": "done"}, {"code": "print(24-int(input()) + 24)", "passed": true, "time": 0.14, "memory": 14156.0, "status": "done"}, {"code": "S = int(input())\n\nday = 24 + (24 - S)\nprint (day)", "passed": true, "time": 0.24, "memory": 14156.0, "status": "done"}, {"code": "m=int(input())\nprint(24+(24-m))", "passed": true, "time": 0.14, "memory": 14216.0, "status": "done"}, {"code": "# 084_a\nM=int(input())\nif 1<=M and M<=23:\n    result=48-M\n    if result>=0:\n        print(result)", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "print(48-int(input()))", "passed": true, "time": 0.14, "memory": 14140.0, "status": "done"}, {"code": "def main():\n    m = int(input())\n    print(48 - m)\n\n\nmain()", "passed": true, "time": 0.19, "memory": 14156.0, "status": "done"}, {"code": "print(48-int(input()))", "passed": true, "time": 0.22, "memory": 14028.0, "status": "done"}, {"code": "a=int(input())\nprint(24+(24-a))", "passed": true, "time": 0.2, "memory": 14052.0, "status": "done"}, {"code": "# 12\u670830\u65e5\u306eM\u6642\u304b\u3089\u6b21\u306e\u5e74\u306b\u306a\u308b\u307e\u3067\u306f\u4f55\u6642\u9593\u304b\u3082\u3068\u3081\u308b\n\nM = int(input())\n\nM = (24 - M) + 24\nprint(M)", "passed": true, "time": 0.2, "memory": 14060.0, "status": "done"}, {"code": "n = int(input())\n\nprint(24 - n + 24)", "passed": true, "time": 0.21, "memory": 14152.0, "status": "done"}, {"code": "a = input()\nb = 24 - int(a)\nc = 24 + b  \nprint(c)", "passed": true, "time": 0.14, "memory": 14264.0, "status": "done"}, {"code": "x = int(input())\nprint(48-x)", "passed": true, "time": 0.15, "memory": 14188.0, "status": "done"}, {"code": "a=int(input())\nprint(48-a)", "passed": true, "time": 0.14, "memory": 14244.0, "status": "done"}, {"code": "m = int(input())\n\nprint(24+24-m)", "passed": true, "time": 0.14, "memory": 14200.0, "status": "done"}, {"code": "m = int(input())\nprint(48-m)", "passed": true, "time": 0.14, "memory": 14048.0, "status": "done"}, {"code": "m = int(input())\nprint(24+(24-m))", "passed": true, "time": 0.14, "memory": 13976.0, "status": "done"}, {"code": "M = int(input())\n\nprint(48 - M)", "passed": true, "time": 0.14, "memory": 14244.0, "status": "done"}, {"code": "print(48-int(input()))", "passed": true, "time": 0.14, "memory": 14048.0, "status": "done"}, {"code": "n = int(input())\nprint(48-n)", "passed": true, "time": 0.14, "memory": 14024.0, "status": "done"}]