nb = 6 def memoire(n): if n == 0: return b"!#8#/#(#$###&#%#'#J#'#'#&#'#(#)#%#I#&#*#%#(#%#+#%#H#&#*#%#4#%#I#%#(#'#3#&#I#&#'#'#1#'#K##(#L##)#O#&#&#'#'#+#Q#*#'#+#Q#+###$#)#####+#M#$#'#+#####%###+#%#J#######&#&###*#-#%#J###$#$#$#&#%#,#'#%#####K###%#(#)#-#&###K###(#&#*#)#%###$###K###(#'#*#(#$###$###L###(#%#$#$#&#$#%#%#####%###M###(#%#%#&#%#####%#%#######M###(#%#'###########$#%#$###$###M###(#%#&#%#####%#%#'###M###(#%#'###&#####%#####%###N###'#%#'###$###%#%#$###$###N###'#%#'###########$#$#(###O###&#%#(###%#####$#$###$###P###&#&#&#%#####$#$#'###Q###%#&#'###'#$#'###Q#$#%#%#'###$###$#$#####%#######7!#4#'#;#'#B#&#$#'#####;#&#A#&#'#####$#####:#&#A#&#*#$#;#&#@##%#.#%#A##%#%#&#)#&#A##$#,#%#%#&#B#'#-######'#B#'#,#*#-#)#C#(#*#$###*#)#'#$#$#D#(#&#%#)#(#%#'#(###C#,#.#,#+###B#*#2#(#.###B#+#1#(#.###A#(###'#-#+#-###A#'#$#$###&#(#$#&#)#,#$#@#'#%#$###%#%#$#*#(#+#%#?#'#'#'#####.#'#(#$#$###@#'#)#&#/#'#%#$#&###@#(#)#&#/#&###$#%###$###A#'#*#&#.#(#$###%###C#'#+#%#-#)#'###D#'#+#%#*#$###'#$###%###E#(#+#$#'#$#######'#####&###F#(#+#$#$#%#####$#'#%###$###G#(#,#$#########$#'#)###G#####'#(###%#$#%###$#&#$###%###I#####'#)###########'#&#(###4" if n == 1: return b"!#/#%#2#$#)###&#)#P#&###$#)#$#%#-#O#&#*#&###.#O#&#&###$#$#%#'#%#&#%#%#H#(#####&#$#%#&#(#$#$#$#$###F#)#(#$#&#(#(#$#'###D#'#*#%#&#%#%#(#)###D###-#%#'#%#&#&#*###B#$#-#$###$#&#%#&#$#*#######A###-#$#,#$#$#$#.###?#$#-#$#####%###'#&#.#######5#%#'#$#.#$#.#%#,###'###4#'#$#*#(#######(###&#####%#/#######4#'#$#####.#.#$#$#&#,###$#$#5#&#$###$#(#############+#$#'#&#-#######4#&#&###$#$###%#%###'#'#*#&#&###$#########$#4#%#'###%#$#############&#'#-#&#+#%#3#&#'###&#$#####&###$#%#0#'#&#####$#####3#&#(###&###+#%#1#'#$#####$###$#3#&#(###'###$###'#%#2#&#%#$###$#4#'#'###(###)##&###&#####4#(#'###(###(##(#######$#5#*#$###(###)#%#3#&#############6#,#)###)#$#3#'#########9#+#)###(#%#2#&#####$###?#'#(###(#$#1#'#$#######A#'#'###(###0#####'#%###B#'#$###$###'###.#$#######%#%###1!#4#######)#%#%###&#$#R#%#####%#########$#'###(#$#P#$#########%#####$#(###*###O#######%#####%#*###+#$#L#%###########%#+###-#$#5###6#$#%#####$#-###/###I#############$#.###0#$#0###7#%###%#0###2#&#+###8#$###%#1###3#'#@#&#&###.###5#&#&###9#%#%###G#$#%###:#$#########2###%#%#2#$#####;#######%###+#&#'#'#2#$#(###4#$#$###,#)#######$#$#%#0#$#<#######-#%#%#%###$#$#####$#/#$#(###6###$###$###)#$#%#####&###$###%#.#$#(###8###$###+#%#%#(###'#-#$#(###9###%###*#$#######$###$###)#,#$#%###$#$#9###&###*#$#######-#,###&###$#######:###&###)#%#######,#+###&###$#$#####:###'###)#'###*#+###&###$#$#$###:###(###*#-#+###&###$#$#$###;###(###(###$#+#+###&#####%#########<###(###&###'#(#$###(###&#####%#####$###<###)#%#*#'#&###%###&#####%#####%###3#%#(###*###-#$#(#######&#####%#####%###4#(#%###'###%###-###)#$#%#####%#########$###4#+#####)#######3#$#%#####'#####%###/" if n == 2: return b"!#7###C###G###1###8###C##$F###;###>##%/###8##$P#'#I###2#'#(#$#######%#W#%#######%#%#$#######'#U#%###########%###$#%#$###%#U#$#'#(###########'#U#%#%#########&###%###&#U#$#####%#&###%###(#V#%#######$###&###*#W#%#######$###-#X#(###-####$##&###/$%#'###*#####7###H#-####$*#-#K###9#'###$#7###7###9#($2####C###2#$#-###F###:###0###&###?###L###8#$#*###H###5!#7##$M#'#T#&#####-#%###'#P#&###'#)#$###########'#N#$###############%#'#$#####%#$###%#M#$#####'#####%#%#$#####%#####(#L#######&###$#$###$###&###########)#K#%#########%#####&###$###$#######$###'#K#####$#%#########,###-#K#%###############$###&###$#######$###)#K#(###########$###5#K#%#######%###(###$#######,#M#)###$###6#M#'###$###7#O#+###(###+###$#P#'###7#R#8###$#T#)###.###$#W#3###$$##4$&#.###$$(#/$+#,$.#'####$0#'$2#&$3#$$5###C" if n == 3: return b"!#7###C###G###1###8###C##$F###;###>##%/###8##$P#'#I###2#'#(#$#######%#W#%#######%#%#$#######'#U#%###########%###$#%#$###%#U#$#'#(###########'#U#%#%#########&###%###&#U#$#####%#&###%###(#V#%#######$###&###*#W#%#######$###-#X#(###-####$##&###/$%#'###*#####7###H#-####$*#-#K###9#'###$#7###7###9#($2####C###2#$#-###F###:###0###&###?###L###8#$#*###H###5!#2###########)#%#%###&#$#R#%#####%#########$#'###(#$#P#$#########%#####$#(###*###O#######%#####%#*###+#$#L#%###########%#+###-#$#5###6#$#%#####$#-###/###I#############$#.###0#$#0###7#%###%#0###2#&#+###8#$###%#1###3#'#@#&#&###.###5#&#&###9#%#%###G#$#%###:#$#########2###%#%#2#$#####;#######%###+#&#'#'#2#$#(###4#$#$###,#)#######$#$#%#0#$#<#######-#%#%#%###$#$#####$#/#$#(###6###$###$###)#$#%#####&###$###%#.#$#(###8###$###+#%#%#(###'#-#$#(###9###%###*#$#######$###$###)#,#$#%###$#$#9###&###*#$#######-#,###&###$#######:###&###)#%#######,#+###&###$#$#####:###'###)#'###*#+###&###$#$#$###:###(###*#-#+###&###$#$#$###;###(###(###$#+#+###&#####%#########<###(###&###'#(#$###(###&#####%#####$###<###)#%#*#'#&###%###&#####%#####%###3#%#(###*###-#$#(#######&#####%#####%###4#(#%###'###%###-###)#$#%#####%#########$###4#+#####)#######3#$#%#####'#####%###/" if n == 4: return b"!#2###########-#$#)###&#)#P#&###$#)#$#%#-#O#&#*#&###.#O#&#&###$#$#%#'#%#&#%#%#H#(#####&#$#%#&#(#$#$#$#$###F#)#(#$#&#(#(#$#'###D#'#*#%#&#%#%#(#)###D###-#%#'#%#&#&#*###B#$#-#$###$#&#%#&#$#*#######A###-#$#,#$#$#$#.###?#$#-#$#####%###'#&#.#######5#%#'#$#.#$#.#%#,###'###4#'#$#*#(#######(###&#####%#/#######4#'#$#####.#.#$#$#&#,###$#$#5#&#$###$#(#############+#$#'#&#-#######4#&#&###$#$###%#%###'#'#*#&#&###$#########$#4#%#'###%#$#############&#'#-#&#+#%#3#&#'###&#$#####&###$#%#0#'#&#####$#####3#&#(###&###+#%#1#'#$#####$###$#3#&#(###'###$###'#%#2#&#%#$###$#4#'#'###(###)##&###&#####4#(#'###(###(##(#######$#5#*#$###(###)#%#3#&#############6#,#)###)#$#3#'#########9#+#)###(#%#2#&#####$###?#'#(###(#$#1#'#$#######A#'#'###(###0#####'#%###B#'#$###$###'###.#$#######%#%###1!#7#$#;#'#B#&#$#'#####;#&#A#&#'#####$#####:#&#A#&#*#$#;#&#@##%#.#%#A##%#%#&#)#&#A##$#,#%#%#&#B#'#-######'#B#'#,#*#-#)#C#(#*#$###*#)#'#$#$#D#(#&#%#)#(#%#'#(###C#,#.#,#+###B#*#2#(#.###B#+#1#(#.###A#(###'#-#+#-###A#'#$#$###&#(#$#&#)#,#$#@#'#%#$###%#%#$#*#(#+#%#?#'#'#'#####.#'#(#$#$###@#'#)#&#/#'#%#$#&###@#(#)#&#/#&###$#%###$###A#'#*#&#.#(#$###%###C#'#+#%#-#)#'###D#'#+#%#*#$###'#$###%###E#(#+#$#'#$#######'#####&###F#(#+#$#$#%#####$#'#%###$###G#(#,#$#########$#'#)###G#####'#(###%#$#%###$#&#$###%###I#####'#)###########'#&#(###4" if n == 5: return b"!#/###*#/#(#$###&#%#'#J#'#'#&#'#(#)#%#I#&#*#%#(#%#+#%#H#&#*#%#4#%#I#%#(#'#3#&#I#&#'#'#1#'#K##(#L##)#O#&#&#'#'#+#Q#*#'#+#Q#+###$#)#####+#M#$#'#+#####%###+#%#J#######&#&###*#-#%#J###$#$#$#&#%#,#'#%#####K###%#(#)#-#&###K###(#&#*#)#%###$###K###(#'#*#(#$###$###L###(#%#$#$#&#$#%#%#####%###M###(#%#%#&#%#####%#%#######M###(#%#'###########$#%#$###$###M###(#%#&#%#####%#%#'###M###(#%#'###&#####%#####%###N###'#%#'###$###%#%#$###$###N###'#%#'###########$#$#(###O###&#%#(###%#####$#$###$###P###&#&#&#%#####$#$#'###Q###%#&#'###'#$#'###Q#$#%#%#'###$###$#$#####%#######7!#J#($/#*#W#&#+#+#U#)#(#&#%#%#U#$#$#&#'#%#'#%#T#$#&#%#&#$#(#%#T#%#&#$#&#$#'#%#W#*###%#'#%$%#+#%#$$&#+###'$##&#$#.###(#R#$#)#*#+#%#O#####$#(#,#'#$#####P###$#$#$#&#%#,#%###P###&#&#)#(#%#######P###'#&#)#'#####$###R###&#$#$#$#%#$#%#%#%###R###&#%#%#%#$###$#$#$#######R###'#$#&#######$#####$#&###R###'#$#&#$#####%#$#####$###S###&#$#&###########$#$#$#######S###&#$#&###$###$#$#$###$###S###&#$#'###&#$#####$###U###%#%#&#########%#&#$#T#$#%#$#&###&#$#$###################Q#'#&#######$#$#&#$#########S#####&#$###&#$###&#####W###$#####%#######'#####################3"