# 1028
n = int(input())
print(n)



# 1029
d = float(input())
print("%.11f" %d)



# 1030
n = int(input())
print(n)



# 1031
o = int(input())
print("%o" %o)



# 1032
x = int(input())
print("%x" %x)



# 1033
X = int(input())
print("%X" %X)



# 1034
O = int(input(), 8)
print(O)



# 1035
XX = int(input(), 16)
print("%o" %XX)



# 1036
Asc = input()
print(ord(Asc))



# 1037
ascii = int(input())
print(chr(ascii))



# 1038
a, b = map(int, input().split())
print(a+b)



# 1039
c, d = map(int, input().split())
print(c+d)



# 1040
e = int(input())
print(-e)



# 1041
char = ord(input())
print(chr(char+1))



# 1042
A, B = map(int, input().split())
print(A // B)



# 1043
C, D = map(int, input().split())
print(C % D)



# 1044
E = int(input())
print(E + 1)



# 1045
y, z = map(int, input().split())
print(y + z)
print(y - z)
print(y * z)
print(y // z)
print(y % z)
print('{:0.2f}'.format(y / z, 2))



# 1046
i, j, k = map(int, input().split())
print(i+j+k)
print('{:0.1f}'.format((i + j + k)/3))

