6060

i, h = map(int, input().split())
print(int(i&h))

6061

i, h = map(int, input().split())
print(int(i|h))

6062

i, h = map(int, input().split())
print(int(i^h))

6063

i, h = map(int, input().split())
print(i if (i>h) else h)

i, h = map(int, input().split())
print(i if (i>=h) else h)

6064

i, h, j = map(int, input().split())
print((i if i<h else h) if ((i if i<h else h)<j) else j)

6065

i, h, j = map(int, input().split())
if i%2==0:
    print(i)
if h%2==0:
    print(h)
if j%2==0:
    print(j)

6066

i, h, j = map(int, input().split())
if i%2==0:
    print("even")
else:
    print("odd")
if h%2==0:
    print("even")
else:
    print("odd")
if j%2==0:
    print("even")
else:
    print("odd")

6067

i = int(input())
if i<0 :
    if i%2==0:
        print('A')
    else:
        print('B')
else:
    if i%2==0:
        print('C')
    else:
        print('D')

6068

i = int(input())
if i>=90:
    print('A')
else:
    if i>=70:
        print('B')
    else:
        if i>=40:
            print('C')
        else:
            print('D')

6069

i = input()
if i=='A':
    print('best!!!')
elif i=='B':
    print('good!!')
elif i=='C':
    print('run!')
elif i=='D':
    print('slowly~')
else:
    print('what?')

6070

i = int(input())
if i//3==1:
    print('spring')
elif i//3==2:
    print('summer')
elif i//3==3:
    print('fall')
else:
    print('winter')

6071

n = 3 
while n!=0 :
  n = int(input())
  if n!=0 :
    print(n)

6072

n = int(input())
while n!=0:
    print(n)
    n = n-1

6073

i = int(input())
while i!=0:
    print(i-1)
    i = i-1

6074

i = ord(input())
h = ord('a')
while h<=i:
    print(chr(h), end=' ')
    h += 1

6075

i = int(input())
h = int('0')
while h<=i:
    print(int(h))
    h+=1

6076

i = int(input())
h = int('0')
while h<=i:
    print(int(h))
    h+=1

6077

i, h = 2, 0 
a = int(input())
while i <= a:
  h += i 
  i += 2 
print (h)

6078

i = ''
while i!='q':
    i = input()
    print(i)

6079

i = int(input())
h, j = 0, 0
while j<i :
  h+=1
  j+=h  

print(h)