a = list(map(int,input().split())) a.sort() for i in a: print(i, end =' ')
print(bin(int(input(), 8))[2:])
구글 검색
a, b, c = map(int, input().split()) if a == b == c: print(10000 + a*1000) elif a == b: print(1000 + a*100) elif b == c: print(1000 + b*100) elif c == a: print(1000 + c*100) else: print(max(a, b, c)*100)
구글 검색
a, b, c = map(int,input().split()) if a*b <= c: print(0) else: print(a*b - c)
a,b = map(int,input().split()) if a>b: print(a-b) elif b>a: print(b-a) else: print(0)
a, b, c = map(int,input().split()) t = int(input()) print((a+(b+(c+t)//60)//60)%24,(b+(c+t)//60)%60,(c+t)%60)
구글 참조