import java.util.*;
class addrxlation
{
public
static void main(String args[])
{
Scanner
read = new Scanner(System.in);
String
GDT[][]={{"0000000000000000","00000000000000000000000000001111"},{"0000000000000001","00000000000000000000000011111111"},
{"0000000000000010","00000000000000000000111111111111"}};
String
PD[][]={{"00000000000000000000000000000000","00000000000000000001000000000000"},{"00000000000000000000000000000001","00000000000000000010000000000000"},
{"00000000000000000000000000000001","00000000000000000011000000000000"}};