python中无&&和||,使用and和or代替逻辑运算,有&和|按位与和或
x,y = map(int,input().split())
print(x and y)
print(x or y)
print(not x)
print(not y)