6040
i, h = input().split()
i = int(i)
h = int(h)
print(i//h)
6041
i, h = input().split()
i = int(i)
h = int(h)
print(i%h)
6042
i = input()
i = float(i)
print(format(i, '.2f'))
6043
i1, i2 = input().split()
i1 = float(i1)
i2 = float(i2)
print(format(i1/i2, '.3f'))
6044
i, h = input().split()
i = int(i)
h = int(h)
print(i+h)
print(i-h)
print(i*h)
print(i//h)
print(i%h)
print(format(i/h, '.2f'))
6045
i, h, j = map(int, input().split())
print(i+h+j, format((i+h+j)/3, '.2f'))
6046
i = int(input())
print(i<<1)
6047
i, h = map(int, input().split())
print(i<<h)
6048
i, h = map(int, input().split())
print(i<h)
6049
i, h = map(int, input().split())
print(i==h)
6050
i, h = map(int, input().split())
print(i<=h)
6051
i, h = map(int, input().split())
print(i!=h)
6052
i = int(input())
print(i!=0)
6053
i = bool(int(input()))
print(not i)
6054
i, h = input().split()
print(bool(int(i)) and bool(int(h)))
6055
i, h = input().split()
print(bool(int(i)) or bool(int(h)))
6056
i, h = input().split()
i = bool(int(i))
h = bool(int(h))
print((i and (not h)) or ((not i) and h))
6057
i, h = input().split()
i = bool(int(i))
h = bool(int(h))
print(((not i) and (not h)) or (i and h))
6058
i, h = input().split()
i = bool(int(i))
h = bool(int(h))
print(not(i or h))
6059
i = int(input())
i = ~i
print(int(i))