# -*- encoding:utf-8 -*-


if True and True:
    print ("true")
else:
    print ("false")

if True and False:
    print ("true")
else:
    print ("false")

if False and False:
    print ("true")
else:
    print ("false")

if True or True:
    print ("true")
else:
    print ("false")

if True or False:
    print ("true")
else:
    print ("false")

if False or False:
    print ("true")
else:
    print ("false")

if  True:
    print ("true")
else:
    print ("false")