Problem:


Score : 100 points

Problem Statement

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 1

21

Sample Output 1

27

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

Sample Input 2

12

Sample Output 2

36



Sample input:
21


Sample output:
27

Submission status: Accepted

Solution code:
M = int(input())

ans = (24 - M) + 24

print(ans)
print()

Submission status: Accepted

Solution code:
M = int( input() )

print( 48 - M )

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

m=int(input())

print(48-m)

Submission status: Accepted

Solution code:
import bisect
import numpy as np
import sys
input = sys.stdin.readline
def IL(): return list(map(int,input().split()))
def SL(): return input().split()
def I(): return int(sys.stdin.readline())
def S(): return input()

M = I()

print(48-M)

Submission status: Accepted

Solution code:
print 48-input()

Submission status: Accepted

Solution code:
a = int(input())
print(48-a)

Submission status: Accepted

Solution code:
int_m = int(input())

print(24 + 24 - int_m)

Submission status: Accepted

Solution code:
M = input()

M = 24 - int(M)

print(24 + M)

Submission status: Accepted

Solution code:
print((24-int(input())) + 24)

Submission status: Accepted

Solution code:
n = int(input())
print(24*2 - n)

Submission status: Accepted

Solution code:
hour = int(input())
print(48 - hour)

Submission status: Accepted

Solution code:
# encoding:utf-8

import copy
import numpy as np
import random

m = int(input())
print(48-m)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# 整数入力
m = int(input())
tmp = 24 - m
print(tmp+24)

Submission status: Accepted

Solution code:
""" AtCoder """

M = int(input())

print(48 - M)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

a = int(input());

print("{}\n".format(24*2-a));

Submission status: Accepted

Solution code:
M = int(input())

res = 48 -M
print(res)

Submission status: Accepted

Solution code:
print(24+abs(24-int(input())))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-


def main():
    m = int(input())
    print(48 - m)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
m = print(48 - int(input()))

Submission status: Accepted

Solution code:
m = [int(i) for i in input().split()] 
a = 24+(24-m[0])
print(a)

Submission status: Accepted

Solution code:
print(24+(24 - int(input())))

Submission status: Accepted

Solution code:
n = int(input())

print(24 + 24-n)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

def main():
    M = int(input())

    print(48 - M)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
def abc084_a():
    m = int(input())
    print(48 - m)


abc084_a()

Submission status: Accepted

Solution code:
print(24+(24-int(input())))

Submission status: Accepted

Solution code:
def main():
    m = int(input())
    print(48 - m)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
m=int(input())

print(24+(24-m))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
M = int(input())
print(48-M)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-


def main():
    """Function."""
    m = int(input())
    print(48 - m)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
# New Year
print(48 - int(input()))

Submission status: Accepted

Solution code:
a=int(input())
ans=48-a
print(ans)

Submission status: Accepted

Solution code:
N = int(input())
K = 48-N
print(K)

Submission status: Accepted

Solution code:
a=int(input())

print(48-a)

Submission status: Accepted

Solution code:
M=int(input())
x=48-M
print(x)

Submission status: Accepted

Solution code:
print-input()+48

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

a=int(input())

s=48-a

print(s)

Submission status: Accepted

Solution code:
N = int(input())

print(24-N+24)

Submission status: Accepted

Solution code:
M = (int)(input())
print(48-M)

Submission status: Accepted

Solution code:
N = int(input())
print(48-N)

Submission status: Accepted

Solution code:
M = input()
H_PER_D = 24
print H_PER_D * 2 - M

Submission status: Accepted

Solution code:
M = int(input())

ans = 24
ans += (24 - M)

print(ans)

Submission status: Accepted

Solution code:
M = int(input())
print((48 - M))

Submission status: Accepted

Solution code:
#coding: utf-8
print(48 - int(input()))

Submission status: Accepted

Solution code:
m=int(input())
print(48-m)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
n  = int( input())

print(24+(24-n))

Submission status: Accepted

Solution code:
m = int(input())

ans = 24 + (24 - m)

print(ans)

Submission status: Accepted

Solution code:
n =int(input())

print(24+24-n)

Submission status: Accepted

Solution code:
n = int(input())
print(24 + (24 - n))

Submission status: Accepted

Solution code:
M = int(input())

ans = 24 + (24 - M)
print(ans)

Submission status: Accepted

Solution code:
N=int(input())
print(24+24-N)

Submission status: Accepted

Solution code:
print(48-input())

Submission status: Accepted

Solution code:
M = int(input())
n = 24
x = 2 * n - M

print(x)

Submission status: Accepted

Solution code:
m = int(raw_input())
print 48 - m

Submission status: Accepted

Solution code:
from collections import defaultdict,deque
import sys,heapq,bisect,math,itertools,string,queue,datetime
sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
eps = 10**-7
def inpl(): return list(map(int, input().split()))
def inpl_s(): return list(input().split())

M = int(input())
print(48-M)

Submission status: Accepted

Solution code:
#!/usr/bin/python3

from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def main():
    M = int(input())
    print(24 + 24 - M)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
# vim: set fileencoding=utf-8:


def main():
    M = input()
    print(24 + (24 - M))


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
M = int(input())

print((48-M))

Submission status: Accepted

Solution code:
#84a
m=int(input())
print(48-m)

Submission status: Accepted

Solution code:
N = int(input())
print(48 - N)

Submission status: Accepted

Solution code:
M = int(input())
print(48-M)

Submission status: Accepted

Solution code:
x = int(input())
print(48-x)

Submission status: Accepted

Solution code:
M = int(input())
print(24-M+24)

Submission status: Accepted

Solution code:
n = int(input())
d = 48-n

print(d)

Submission status: Accepted

Solution code:
#-*-coding:utf-8-*-
import itertools

def main():
    m = int(input())
    print(48 - m)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
M = int(input())
x = 48 - M
print("{}".format(x))

Submission status: Accepted

Solution code:
#coding:utf-8
n=int(input())
n=48-n
print(n)

Submission status: Accepted

Solution code:
print 48 - int(raw_input())

Submission status: Accepted

Solution code:
next_time = 24 - int(input()) + 24

print(next_time)

Submission status: Accepted

Solution code:
m = int(input())
#num = 24-m
print(48-m)

Submission status: Accepted

Solution code:
M=int(raw_input())
print 48-M

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
M=int(input())
N=48-M
print(N)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

M = int(input())

x = 48 - M

print(x)

Submission status: Accepted

Solution code:
a = input()
a = 48 - a
print a

Submission status: Accepted

Solution code:
def main():
    M = int(input())
    return 24 + (24-M)

if __name__ == '__main__':
    print(main())

Submission status: Accepted

Solution code:
print((24*2)-int(input()))

Submission status: Accepted

Solution code:
# ６月５日
a = int(input())
print(48-a)

Submission status: Accepted

Solution code:
a=input()
b=int(a)
c=48-b
print(c)

Submission status: Accepted

Solution code:
print('{}'.format(48-int(input())))

Submission status: Accepted

Solution code:
hour = int(input())

print(48 - hour)

Submission status: Accepted

Solution code:
M = input()
print 48-M

Submission status: Accepted

Solution code:
N=input()
print(48-N)

Submission status: Accepted

Solution code:

M = int(input())

print(48-M)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

M = int(input())

print((24-M)+24)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# 整数の入力
a = int(raw_input())
# 出力
print 48 - a

Submission status: Accepted

Solution code:
print 48 - int(raw_input())

Submission status: Accepted

Solution code:
M=int(input())
print(24-M+24)

Submission status: Accepted

Solution code:
n = int(input());print(48-n)

Submission status: Accepted

Solution code:
#coding: utf-8
M = int(input())
x = 24 + (24 - M) 
print(x)

Submission status: Accepted

Solution code:
m = int(input())
n = 48 - m
print(n)

Submission status: Accepted

Solution code:
M = int(input())

print(24 - M + 24)

Submission status: Accepted

Solution code:
m =int( input())
x = 24 - m + 24
print(x)

Submission status: Accepted

Solution code:
# coding: utf-8
hour = int(input())
print(48 - hour)

Submission status: Accepted

Solution code:
print(str(48 - int(input())))

Submission status: Accepted

Solution code:
import math
import sys

def getinputdata():

    # 配列初期化
    array_result = []
    
    data = input()

    
    array_result.append(data.split(" "))

    flg = 1

    try:


        while flg:

            data = input()

            array_temp = []

            if(data != ""):
                
                array_result.append(data.split(" "))

                flg = 1

            else:

                flg = 0
    finally:


        return array_result





arr_data = getinputdata()

x = int(arr_data[0][0])

print(24-x+24)

Submission status: Accepted

Solution code:
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()

m = ni()
print(24 + (24-m))

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    M = int(input())
    print (24 - M + 24)

Submission status: Accepted

Solution code:
t = int(input())
print(24+ (24-t))

Submission status: Accepted

Solution code:
m = int(input())

print((24 - m) + 24)

Submission status: Accepted

Solution code:
n = int(input());
print(48 - n);

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

# AtCoder Beginner Contest
# Problem A

if __name__ == '__main__':
    print(48 - int(input()))

Submission status: Accepted

Solution code:
#-*- coding: utf-8 -*-
M = int(input())
print(48-M)

Submission status: Accepted

Solution code:
x=int(input())
print(24+24-x)

Submission status: Accepted

Solution code:
#!/usr/bin/python3
# -*- coding: utf-8 -*-

def main():
    print(48 - int(input()))

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
m = int(input())
print (48-m)

Submission status: Accepted

Solution code:
t = int(input())
print(48-t)

Submission status: Accepted

Solution code:
M = int(input())
print(str(48-M))

Submission status: Accepted

Solution code:
print(24*2-int(input()))

Submission status: Accepted

Solution code:
n = int(input())

print((24 - n) + 24)

Submission status: Accepted

Solution code:
def main():
    print(48 - int(input()))

main()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
M=int(input())
print(48-M)

Submission status: Accepted

Solution code:
M = int(input())
answer = 24 + 24 - M
print(answer)

Submission status: Accepted

Solution code:
def main():
    hour = int(input())
    print(24 + (24 - hour))


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

import sys

m = int(raw_input().split()[0])

sys.stdout.write('%d\n' % (48 - m))
sys.stdout.flush()

Submission status: Accepted

Solution code:
M= int(input())
ans=24+(24-M)
print (ans)

Submission status: Accepted

Solution code:
m=int(input())
a=24-m
print(24+a)

Submission status: Accepted

Solution code:
x = input()
print(24 - int(x) + 24)

Submission status: Accepted

Solution code:
# -- coding: utf-8 --
print(48 - int(input()))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
https://beta.atcoder.jp/contests/abc084/tasks/abc084_a

"""
import sys
from sys import stdin
input = stdin.readline


def solve(M):
    return (24 - M) + 24


def main(args):
    M = int(input())
    ans = solve(M)
    print(ans)


if __name__ == '__main__':
    main(sys.argv[1:])

Submission status: Accepted

Solution code:
m=input()
print (48-m)

Submission status: Accepted

Solution code:
n = int(input())

print(24+(24-n))

Submission status: Accepted

Solution code:
t = int(input())

print(24+24-t)

Submission status: Accepted

Solution code:
n=input()
print 48-n

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

m = int(input())
print(48-m)

Submission status: Accepted

Solution code:
M = int(input())
x = 48 - M
print(x)

Submission status: Accepted

Solution code:
num = int(input())
print(48 - num)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
M = int(input())

print(48-M)

Submission status: Accepted

Solution code:
M = int(raw_input())

print 48-M

Submission status: Accepted

Solution code:
# -*- cording: utf-8 -*-
data = int(input())
remein = (24 - data) + 24
print(remein)

Submission status: Accepted

Solution code:
M = int(input())

def main():
    ans = 48 - M
    print(ans)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import numpy as np
import pdb

def main():
    value = int(raw_input())
    print compute(value)

def compute(value):
    finalday = 24
    remaining = 24 - value
    total = finalday + remaining
    return total

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
def getAns(num):
    return 48-num

num = int(input())
ans = getAns(num)
print(ans)

Submission status: Accepted

Solution code:
t = input()
T = int(t)

print(48 - T)

Submission status: Accepted

Solution code:
print("{}".format(24 - int(input()) + 24))

Submission status: Accepted

Solution code:
print("{}\n".format((48-int(input()))))

Submission status: Accepted

Solution code:
import fileinput
for line in fileinput.input():
    print(48 - int(line))

Submission status: Accepted

Solution code:
def solve():
	print(48 - int(input()))
solve()

Submission status: Accepted

Solution code:
T=int(input())
print(int(48)-T)

Submission status: Accepted

Solution code:
print 48 - eval(raw_input())

Submission status: Accepted

Solution code:
input = eval(raw_input())
if not isinstance(input, int):
  print 'not int'
print (48 - input)

Submission status: Accepted

Solution code:
M = int(input())
twoDays = 48
print(twoDays - M)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
#12 月 30 日の M 時から次の年になるまでは何時間か、求めてください。
#Mは1~23 xは25~47
y = input()
x = 48 - int(y)

print(x)

Submission status: Accepted

Solution code:
#!/usr/bin/python

# AtCoder Beginner Contest 084
# A: New Year
# How many hours do we have until New Year at M o'clock on 30th, Dec.?

import sys

M = int(sys.stdin.readline())
x = 24 + 24 - M
print(x)

Submission status: Accepted

Solution code:
#! /usr/bin/python

M = int(input())
print( 48 - M );

Submission status: Accepted

Solution code:
M=int(input())

ans=48-M

print(ans)

Submission status: Accepted

Solution code:
M = input()
N = 48 - int(M)
print(N)

Submission status: Accepted

Solution code:
M = int(input())

A = 24+24-M

print(A)

Submission status: Accepted

Solution code:
N=int(input())

print(24+(24-N))

Submission status: Accepted

Solution code:
print 48 - input()

Submission status: Accepted

Solution code:
from pprint import pprint as pp
def GI(): return int(raw_input())
def GIS(): return map(int, raw_input().split())

def main():
  print(24 - GI() + 24)

main()

Submission status: Accepted

Solution code:

def main():
    m = int(raw_input())
    print 48 - m

if __name__=="__main__":
    main()

Submission status: Accepted

Solution code:
M = input()

rest = 24 - (int(M)%24)
print(rest+24)

Submission status: Accepted

Solution code:
#!/usr/bin/env python

time = int(input())
print(48 - time)

Submission status: Accepted

Solution code:
s = input()
n = int(s)
print(48 - n)

Submission status: Accepted

Solution code:
def main():
    m = int(input())
    print(48-m)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
M = int(input())
x = 24-M + 24
print(x)

Submission status: Accepted

Solution code:
M = int(raw_input())
print 48-M

Submission status: Accepted

Solution code:
# coding: utf-8

# input
m = int(input())

# calc func
def calc(m):
    return 48 - m

# output
print(calc(m))

Submission status: Accepted

Solution code:
input = int(input())
answer = 48 - input
print(answer)

Submission status: Accepted

Solution code:
M=((int)(input()))
print(str(48-M))

Submission status: Accepted

Solution code:
M = int(input())
Time = 48 - M
print(Time)

Submission status: Accepted

Solution code:
ans = 48 - int(input())

print(ans)

Submission status: Accepted

Solution code:
import sys

line = sys.stdin.readline()
M = int(line)

count = (24-M) + 24
print(count)

Submission status: Accepted

Solution code:
import sys
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt, ceil, floor
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache, reduce
from operator import xor
from heapq import heappush, heappop
INF = float("inf")
sys.setrecursionlimit(10**7)

# 4近傍（右, 下, 左, 上）
dy4, dx4 = [0, -1, 0, 1], [1, 0, -1, 0]


def inside(y: int, x: int, H: int, W: int) -> bool: return 0 <= y < H and 0 <= x < W


def main():
    M = int(input())
    print(48 - M)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import sys
import os

def main():
  N = input()
  hour_ = 24 - N
  hour = 24 + hour_
  print hour

if __name__ == '__main__':
  main()

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
M = int(input())
print(48 - M)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# 整数の入力
a=input()
a=int(a)
b=24+(24-a)
print(b)

Submission status: Accepted

Solution code:
# -*- coding:utf-8 -*-
m = int(input())
print(24+(24-m))

Submission status: Accepted

Solution code:
l = int(raw_input())
print 48 - l

Submission status: Accepted

Solution code:
n=int(raw_input())
print 48-n

Submission status: Accepted

Solution code:
M=int(input())
time=24-M
print(time+24)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

import math

m = int(input())

print(48 - m)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
m = int(input())
print(str((24-m)+24))

Submission status: Accepted

Solution code:
# coding: utf-8

#問題文
#12 月 30 日の M 時から次の年になるまでは何時間か、求めてください。
#
#制約
#1≦M≦23
#入力は全て整数
#
#入力は以下の形式で標準入力から与えられる。
#M
#
#出力
#12 月 30 日の M 時から次の年になるまでが x 時間のとき、x を出力せよ。
two_day_hour = 48
current_hour = int(input())
print(two_day_hour - current_hour)

Submission status: Accepted

Solution code:
print str(48 - int(raw_input()))

Submission status: Accepted

Solution code:
#abc084a

m=int(raw_input())
print 48-m

Submission status: Accepted

Solution code:
M = int(input())

res = 24 + 24 - M

print(res)

Submission status: Accepted

Solution code:
M = int(input())

n = 24 + (24 - M)

print(n)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
 
n = input()
print(48-n)

Submission status: Accepted

Solution code:
def main():
    M = int(input())

    print(48 - M)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
m=int(input())
print(24+(24-m))

Submission status: Accepted

Solution code:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**15
mod = 10**9+7

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)


def main():
    n = I()

    return 48 - n



print(main())

Submission status: Accepted

Solution code:
print(48-(int(input())))

Submission status: Accepted

Solution code:
m=input()

a=24-int(m)+24
print(a)

Submission status: Accepted

Solution code:
hours = int(input())
print(48-hours)

Submission status: Accepted

Solution code:
m =int(input())
print(48-m)

Submission status: Accepted

Solution code:
n = int(input())

ans = (24-n) + 24

print(ans)

Submission status: Accepted

Solution code:
print 48 - input()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sat Dec 30 21:35:00 2017

@author: kanako_note
"""

M = int(input())
print(24 - M + 24)

Submission status: Accepted

Solution code:
#-*-coding: utf-8 -*-

M = int(input())
print(48-M)

Submission status: Accepted

Solution code:
# スペース区切りの整数の入力
hour = int(input())

remain = 24 + (24 - hour)
        
print(remain)

Submission status: Accepted

Solution code:
M = int(raw_input())

print 24 + (24 - M)

Submission status: Accepted

Solution code:
s = int(input())
print(24-s + 24)

Submission status: Accepted

Solution code:
a=input()
print(48-int(a))

Submission status: Accepted

Solution code:
M = int(input())

print("{}".format(48-M))

Submission status: Accepted

Solution code:
M=int(input())
aa=48-M
print(aa)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

M = int(input())

print(24-M+24)

Submission status: Accepted

Solution code:
# Try AtCoder
# author: Leonardone @ NEETSDKASU
 
m = int(input())
ans = 24 - m + 24
print(ans)

Submission status: Accepted

Solution code:
M = int(raw_input())
print 48 - M

Submission status: Accepted

Solution code:
print("%d"%(48-int(input())))

Submission status: Accepted

Solution code:
M = int(input())
print (24 + (24 -M))

Submission status: Accepted

Solution code:
n = int(input())
print(24 + 24-n)

Submission status: Accepted

Solution code:
#coding:utf-8

now = int(raw_input())

time = 48 - now

print time

Submission status: Accepted

Solution code:
#coding:utf-8
m = int(input())
print(48-m)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

M = int(input())

print(48 - M)

Submission status: Accepted

Solution code:
print (48-int(raw_input()))

Submission status: Accepted

Solution code:
a = int(input())
ans = 48 - a
print(ans)

Submission status: Accepted

Solution code:
p = int(input())
print(24 + (24 - p))

Submission status: Accepted

Solution code:
x = input()
print(48 - int(x))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# 整数の入力
a = int(raw_input())
b = 48 - a
# 出力
print b

Submission status: Accepted

Solution code:
import sys
n=int(sys.stdin.readline())
print(48-n)

Submission status: Accepted

Solution code:
a = int(input())

res = 24 - a + 24

print(res)

Submission status: Accepted

Solution code:
# cdoing: utf-8
M = int(input())
s = 24 - M
print(s+24)

Submission status: Accepted

Solution code:
import numpy as np

h = int(input())
#h = map(int, input().split(" "))

h = 24 + 24 - h

print(h)

Submission status: Accepted

Solution code:
M = int(input())
print(24 + (24-M))

Submission status: Accepted

Solution code:
from pprint import pprint as pp
m=int(input())
print(24+24-m)

Submission status: Accepted

Solution code:
print 24-input()+24

Submission status: Accepted

Solution code:
#!/usr/bin/python

import sys

def main(argv):
    line = sys.stdin.readline()
    while line:
        M = int(line.rstrip("\n"))
        print 24 - M + 24

        line = sys.stdin.readline()

if __name__ == "__main__":
    main(sys.argv)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# coding=utf-8

import sys

m = sys.stdin.readline().strip()
m = int(m)
print(48-m)

Submission status: Accepted

Solution code:
n = int(input())
print(24 - n + 24)

Submission status: Accepted

Solution code:
import sys
n = int (sys.stdin.readline())

print (24 + 24 - n)

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    print(48-int(input()))

Submission status: Accepted

Solution code:
def main():
    M = int(input())
    print(24 - M + 24)

main()

Submission status: Accepted

Solution code:
temp=input()
b=int(temp)
print(48-b)

Submission status: Accepted

Solution code:
m = 24 - int(input())

print(m+24)

Submission status: Accepted

Solution code:
M = int(input())						# 5

print(24-M+24)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# 整数の入力
a = int(raw_input())
print str(48-a)

Submission status: Accepted

Solution code:
m = int(input())

ans = 24 + 24-m

print(ans)

Submission status: Accepted

Solution code:
def getInput():
    """

    :return: list of list of str. 1st dim: row, 2nd dim: column.
    """
    separator = ' '
    ret_array = []
    while True:
        try:
            row = input().split(sep=separator)
            ret_array.append(row)
        except EOFError:
            break
    return ret_array


g = getInput()

print(48-int(g[0][0]))

Submission status: Accepted

Solution code:
import sys

M = int(sys.stdin.readline().strip())
print(48 - M)

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    M = int(input())
    print((24-M) + 24)

Submission status: Accepted

Solution code:
a = int(input())

print((24-a)+24)

Submission status: Accepted

Solution code:
def slove(m):
    return 48 - m

if __name__ == "__main__":
    m = int(input())
    print(slove(m))

Submission status: Accepted

Solution code:
a = int(input())
b = 48 - a
print(b)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
a = int(input())
print(24+(24-a))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
M = int(input())
print(48 - M)

Submission status: Accepted

Solution code:
# coding:utf-8                                                                                     

M = int(raw_input())

print 24 + 24 - M

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# 整数の入力
m = int(input())
print(str(24 - m + 24))

Submission status: Accepted

Solution code:
print (lambda x: 48-x)(input())

Submission status: Accepted

Solution code:
num = int(input())
print(24-num+24)

Submission status: Accepted

Solution code:
m = int(input())
print (24 + 24 - m)

Submission status: Accepted

Solution code:
# coding: utf-8

M = int(raw_input())

print 48-M

Submission status: Accepted

Solution code:
x = int(input())
print(24 - x + 24)

Submission status: Accepted

Solution code:
def solve():
    M = int(input())
    print(24 + (24 - M))


solve()

Submission status: Accepted

Solution code:
N=int(input())
print(48-N)

Submission status: Accepted

Solution code:
# coding: utf-8
n=int(input())
print(24+(24-n))

Submission status: Accepted

Solution code:
print(21+27-int(input()))

Submission status: Accepted

Solution code:
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()

m = ni()
print(48-m)

Submission status: Runtime Error

Solution code:
a = input()
b = 24 - a
c = 24 + b  
print(c)

Submission status: Runtime Error

Solution code:
a=int(input())
print(24+(24-a)

Submission status: Runtime Error

Solution code:
a=input()
print(48-a)

Submission status: Runtime Error

Solution code:
a = input()
a = 48 - a
print(a)

Submission status: Runtime Error

Solution code:
print(48-int(input())

Submission status: Runtime Error

Solution code:
print(48 - input())

Submission status: Runtime Error

Solution code:
i=(48-i)
print(input())

Submission status: Runtime Error

Solution code:
print(48-i)
i=int(input())

Submission status: Runtime Error

Solution code:
M = int(input())
ans = 48 - M
printg(ans)

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using VI = vector<int>;
using VL = vector<ll>;
using VS = vector<string>;
template<class T> using PQ = priority_queue<T, vector<T>, greater<T>>;
#define FOR(i,a,n) for(int i=(a);i<(n);++i)
#define eFOR(i,a,n) for(int i=(a);i<=(n);++i)
#define rFOR(i,a,n) for(int i=(n)-1;i>=(a);--i)
#define erFOR(i,a,n) for(int i=(n);i>=(a);--i)
#define each(i, a) for(auto &i : a)
#define SORT(a) sort(a.begin(),a.end())
#define rSORT(a) sort(a.rbegin(),a.rend())
#define fSORT(a,f) sort(a.begin(),a.end(),f)
#define all(a) a.begin(),a.end()
#define out(y,x) ((y)<0||h<=(y)||(x)<0||w<=(x))
#define tp(a,i) get<i>(a)
#define line cout << "-----------------------------\n" 
#define ENDL(i,n) ((i) == (n) - 1 ? "\n" : " ")
#define stop system("pause")
constexpr ll INF = 1000000000;
constexpr ll LLINF = 1LL << 60;
constexpr ll mod = 1000000007;
constexpr ll MOD = 998244353;
constexpr ld eps = 1e-10;
constexpr ld pi = 3.1415926535897932;
template<class T>inline bool chmax(T& a, const T& b) { if (a < b) { a = b; return true; }return false; }
template<class T>inline bool chmin(T& a, const T& b) { if (a > b) { a = b; return true; }return false; }
inline void init() { cin.tie(nullptr); cout.tie(nullptr); ios::sync_with_stdio(false); cout << fixed << setprecision(15); }
template<class T>inline istream& operator>>(istream& is, vector<T>& v) { for (auto& a : v)is >> a; return is; }
template<class T>inline istream& operator>>(istream& is, deque<T>& v) { for (auto& a : v)is >> a; return is; }
template<class T, class U>inline istream& operator>>(istream& is, pair<T, U>& p) { is >> p.first >> p.second; return is; }
template<class T>inline vector<T> vec(size_t a) { return vector<T>(a); }
template<class T>inline vector<T> defvec(T def, size_t a) { return vector<T>(a, def); }
template<class T, class... Ts>inline auto vec(size_t a, Ts... ts) { return vector<decltype(vec<T>(ts...))>(a, vec<T>(ts...)); }
template<class T, class... Ts>inline auto defvec(T def, size_t a, Ts... ts) { return vector<decltype(defvec<T>(def, ts...))>(a, defvec<T>(def, ts...)); }
template<class T>inline void print(const T& a) { cout << a << "\n"; }
template<class T, class... Ts>inline void print(const T& a, const Ts&... ts) { cout << a << " "; print(ts...); }
template<class T>inline void print(const vector<T>& v) { for (int i = 0; i < v.size(); ++i)cout << v[i] << (i == v.size() - 1 ? "\n" : " "); }
template<class T>inline void print(const vector<vector<T>>& v) { for (auto& a : v)print(a); }
inline string reversed(const string& s) { string t = s; reverse(all(t)); return t; }

int main() {
    init();

    int m; cin >> m;
    print(24 - m + 24);

    return 0;
}

Submission status: Runtime Error

Solution code:
print(48 - int(input())