# -*- coding: utf8

print "Tabla de verdad AND"
print "A","B","A and B"
for a in range(2):
    for b in range(2):
       print a,b, a and b
