#length = input()
merkit = "*.........*.................*..*.................*.......................*...*.........*......................*..*...............*..*........*..*........*.....*..................*.......*..*..........*.......*........................................*.*...**......*........*.......*...................*................*.*....................................*..*.**............*....*.................*.......**......*....*.................*...........................................................*.....*.......*...*......................**...*.......*........*..*............*...........................*..*.....*...**.......*................................*.*......................*......*..*...........*.*...........................*.....*...........*...................*...*......**.................*.....*...........................**.....*....*.......................*.**............*........................*.*................*.*..*.........*............................*....*........*...***..*...................*.....*...*.......*..................*.......*..*.....*................................****............*............*.........*.....*...*............*.............*.*.......................*.*................*..*.................*...*.*.....*.....*...........*...........*......*...*.......*......*...............*..............*.......*......................*...........*..*.......*.*...*.*...*..*......*......................................*...*...................................*...........*..*.......*...................................*....................*............*.*...........*.....*.......*...........*..........*................*..*........................*...*..*.........*.....................................*................*................................*.......*.**................**.......................................*...........*...*....**.......*.**................*...*.*............*........*.............*.......*...*.....................*......*.......*....*..............*..........*....................*..........*.....*.............*........*...............*...........*......**.*...*...................*.........*...*...*............*..........*................*...*..*..........*..........................*............*.*.....*............*.*..................*.**.*.*......*.*......*............*............**...*.........*...........*................*....*..........*....*....*......**.............**............................*......................*....*..........*................*...........*....*............*....................*......................................*...*....*.........*....*....*.*..***.......*...*....................................................................*..........*........*..........*......*.....*................*.............*..........*........*........................*...........*.......*...***....*.*.......**.*.*.**...*..............*.....*...........*...........*.....*.*................*.........*.........*..................**.........*...*....**....*........................*......*...........*...**...**..**............*.....**...*.......*............*.....**..*.............*.........................*...*............*...*.....*.......*..............*......*....................*........*......*................*.............*...........*..................*....*....*......**....................*.*..*.....*..*........**..*....*....*..............**...*.*....*.*..............*......*...*........*...*.............*...........................*.....................................*........................*............*.........*...............*....*.......*.........*.**......*.............*.....*...........*..................*...*...*.......*.*..............*......**...*..........*.......*..*.....*................*...*...........................*..........**....*.........*...*......*....*...*..............*.............................*...........*.....................*..................*..*......*....*...............*.....*....*.........................*................*.......................**......................................*......*.....................*..........*..**...*..*................*.....................*.....*.......*..........*........**.........................*..*..........*...............*.**....*..........*................**...............*...*....**............*.**..............*.......*........................*..*.....*...*..*......*...*.....*.............................*.......................*.......**......*..................**.*..............................*...........*......................*......*......................................................*............................*....*..*..*.....*............*.................**...........*.**.....*...............*........*.....*.......*..*.....*......*..*................................*........**....**...*...............*.....*....*.......*.*......*.........................*.........*....*....*...*.........*...*.....*.....*........*...........*...................*.*.***.........*............*............*.....*...................*........*.....*...*......*..................*.*....................*...................*.......*..............**..................*.*.............*...*.*............*...........................................*.*.**..........*..*.*.........*................................................*.......*....**......*...............*.................*..........*...*.*............*..**........*..............*..*............*.....................***........*..*..........*....*.***..........*........*..*.*...............**.....*.......*..................................*..................**.....*.............*....*....................*.......*....*.*............*.....................*........*.....*...........*....................*.........*...................*.........*...**.........*............................*..........*......*................*.....*.............*............................*..................*..**....*...*........*.................................*........*..*..............*................*........**.............................*....*...............**..*...*....*......*...................*...*................*...*..*..*..........................**..........*.....*.*.................*..............................*............*.............*.................*.........*....*.............*.............*..*........*...**......*...................*..................*......*............*..*..*......*......*.........*...................*.*..*.........**.............*..............*....***....*..........*...................*..*..*.*.............*......*.*.............*....*....*....................*........*.**............*...*........*........................*.....................**...........*.......*...*.................*..............*........*.........*....*.....*...*.**...*....*..*..................................*.........*.................*.***.......*..*......*....*......*....*.......*...............*......**......................*.........*..*.*....*...*...........*..*.........**.......*.......*........*.....*.........*..*.....*.......*.........................................*..........*....*.*...*.......*......................................................*......*...*...*.....*.*..............*..................................*..........**.........*.......*..*...........*...*..............*..*............................*.....*.................*.....................*................*.....*.........*........*...*.......*...*......................*..............................*....*.........................*.......*..*.................................*................*.........*..*.................*....**........*...*.*...*.*......................*.....*..*..*.........*....*........*..*................*......*.......*..*.......*.....**....*.....*.*......*..*...............................*....*....**....*.*......*.............**......*........*....*.*........*.**.............*....*.......................*...........**..............*.....*...*..............*....*..........*...*..*.....*.......*...*.........*........*........*................*..*.....*.......*....**.........*................*.......*................*.......**......................*.....*.........*.....*.....*...............................*.*............*.*..........*...................*.......***.....*.*.............*.........*.*...*.**..*......*......*......*...................*..............*.................*...........*...............*..........*...........................*...........*......*......*.*............*..*..*...**..............*..........*...............................*........*.................*....*..............*.......................*........*...........*..........................*..........*....*.*........................*...*.......**...*....*.................*..........*................*....*......................................*.*.*.................**...........*...........*..................*...*.........*...***.*...*........................*..................*....***..........................................*..*..............................*.....*..........*.....*...........*..*....*.*...........*....*........*....................*.....*.....*.......................*......**.**....................*....*..............................*...........*...*.......*........*.*.........*..*......*....*................*...........................*...*....*...................*..................*................................*..*......*...........................*....*.*.....*.*...*....................*.***.....*.......*...*........*........*....................................*...........*...........*......*.**.....*......*.*......*..........................*.....**..*............*......*......*................*.....*.....*........*..........*.*........*..*.............*......*.......................*..*...................*...........*.....*....................*......*......*...*..........*....................*.......*................*....*........*......*....*...*...........................*.....................*..............................*....*....*.....*....................*....*..........*.....................*....*...............................*...*..........*......*...*.*...........*.........................*........*..*...................*..............*...............................**..*.........**...................................**...*...*.............*..*..*....*......................*......*..................................*.......*..*.......*....*...........*..*....*..*...........*...*.........*...*....*......................*...........*..............*.....*....................*.............*.........*.....................*........................*.*........*...*....*.......................................*.......................*....*.*.....**..................*.....*......*.....................*...........*..*.........*........*..*...........**..............................**...................*...*.......*...................*......*................*.....*.*.........*............*........*..........................*......*.........*.................*.....................................................*..**..................*..........*..........*.........*............*...............*.*......*.....**.**.....*...*......*.........*...*....................................*.*....................................*.................*.............................*..........*............*................*...................*.....*..........*.*................*.*.......*.......*.............*...........*.......*.......*.............*.........*..........*........................*.........*.....*...**.....*..........*.......*........*...**......*......*..............*...........*.....*..*.....*.*.*...*................*...*.*........*................................*.................*.................*.........*............*.......*...**..........*..*.............*......................*.......*.*..*..............*...*..*.........*.*...*....*...*........................*..*.........*...*...........*..*.......................*..*..........*.*.................................*...*.........**....*..........*....*..............*.............*...........................*.......*........*..............................*..............***.....*................................*..........*..............*............................*..............................*......*.*....*.*...*...*........*.....*..*......................*...*.....................*.............**......*............*.................................*..........*.......*...................................**.*........*..................**..*..................................*....*..................*..*.....................................**.........*....*...........*........**..........*..............**............*........*.................**..................................*..................*.......*.....*......*...*..................*.................*.*..............*....*...........*......*.*......*..........*..............***...........*........................*.*...*..................*.*.......**..*............................*.....*.......*...................*...*...*.*.......*..............*...................*...........*........*.......*...*......*..........................*..**..................*....*...........*.....*..................*..*........*.........................*......*...................*............*..*.*........*..*......*........*..........*.*........*..*...*...*........*.............*............**..*......*...*..*.**...*...*............................*...*.....*................*............**.....*...........*......*....*........*.....*.......*.......................*..*..........*.....*.......*..*.............*.........*.....*.......................*.............*..*.*.......................*.....................*..*......*....*......*......................*..........................*...*...............................................*.........*...*.....*......*..................*................*..............*.........*.........*.*.....*...*............**........................*.............*...........*.....*........*............*...*...*..*.....................*.........................*.....*.............**..........*.*......**...................*...............*..........*............................*..................*.....................*...................*.............*....*......*...........*..................*......*...............*..............*.*..........*....*...*.*......*....**.......*.*...............*..................................................*..............*.*...*.........................*......**................................*.................*.............*..........*...*....*..............*..........*..*.......*..........*...**..................*....*.....................................*...*...*...........*..*................................*.*...**...*.........**.*..................*..*...*....*.............*..*...........*......*........*...............*...............**......*....*..*...................*...*...*.......*..*..*...*..................*...*................*...........*............................................*..*..*...........*......*....*.*.........*..*....*..............**........*..*....*..*..........*................*..*.*......*.***.....*.*.....................*.............*....*..............................*.*..............*...*.*............*.....*...................*............*.........*....*.*...........*..**....................................*.............*.*...............................*.....*.........*...*..*...*.*................*...*...................*........*........**.......*...*......*..*...*...........*..........*.****..............**.....*..*..............*...*.*.......*.**.......*......*........*...............*............*..*..........*...............*.......................*............**...............................*......*.*...**................*.......................*........*..........................**....*.............*.*.....*.....*..*..*..........*.......*..............*....*..*.....*..............*...................*..*.*..*........*.........*..........*.*.*..........*....................*.*..........*.................*.*.*.....*....................................................................*....................**.............*................*.**..*.*....*.*......*...............*.....................**.........*............*...........*...**............................*........................*.............*..*.........*...........................*...............*..........*..*............*................*....*..........*...**............*..*..*...........................*.....*..........*....................*..........*.*.....*......*..........*.........*..*..............*...*.............*...........*...*..........................*......................................*...............*.....*..........................**...............*...........*.....*.................**...*.*....*....................*..*.............*..*.........*.......*.....*.......................*........................*......***.............................*..............................*........*..........*..*....................**...............................*........*.*.........**..................*..........*.....*..*.*..................*.........*....*............*.......*.......*.................*..*..*......................*.......*.......*.......*.......*.*......................................................................*......***....*......*..........................*........**.......*.*.....*..*..*..*.*.....*..............*.....*.............**....*.............*....................*.............*.........*.........****.......*.....*.*..................*..*......***........*.......*.....*.............*.*........*..*...............*.*..*......*...............................*..*..............*..............*.**.........**..............**..*.............*.........*...........*..........*.......*...........*........*...**........*......................................*................*..........................*.....*...................................*...*..............................................................................*............*.......**.*.....*........*...*....*..............*...............**................*.......*.........................*.....*...............................*...........*.*.........*.*......*..*.......*....*...............*................................*..*.....*.*..*.........*.......*..........*....*...........*...*..................*....*...........*.........*..........*.....*.............**...*...*.....*....*..................**...*..........*.......................*..*.....*.......*.....*...*........*.....*...................*...**..*....................*.............................*..*.................*.............*.................*.........*..*.............*...*...............**.*..*....*.........*...*.................*...........*....*..............**..*..........*.*........*...........*....................*.............*..*....*....*.......*..........................*.*................*..*......*.*......*.........*...*.............**........*..........**....*....*.........**.*.*....*.....*.....*..............*..*.........*.......*.........*......*...........*.....*.*...*...........................*....*..*.**.*...*..*.................**...*..*........*....*........*.....*.....*......*..........*.....*.......................................**......**.*....*.................*...*..*.....................*..............*..*....**..........*....*....*......................*.*....**.*.........**.........*...............*........................*...........*........*...........*.............*..........*........**..................*...............*.....................*.......*......*....*..*...............................................*.......*...........*...*..*....*....*...........*.*................*....*....*...*.........*..................................*............*................*.....*.*..............*..*..............................................*.............*.......*......................*.*..............*...........*...*.......................................*...........................*....*............*........*............*......*...............*...........................*................*................*....*........*....................*.*..**...........*........*...........*....*........*................*...........*....................................*.............**.**........*............*..*.....*.....**......*....*....................................*..........*..*.........*...........*..........*....*.......................*.*.**.*...**......*...*..*.....*..*................................*.....*.........*.......*...*..........*.....*.........*.*.....*.......*.......*..........**............................*.......*...*................*.....*.....*.......................*......................**...*..........*.........*...*................*..*.....*.....................*...*..*.....................**................*.........*.......*..........................*..................*...........*.......................*.*...............*.............................*.....................*..............*.*........*.................*.....*..*.*..*....*.....................*.....*.*.*...............................*..............................*.................................*....*........*..*.................................*...............*......*...........................................*.*.*...*.*.....*....*.............*....................**..........*.....*...............................*.........*...***....*.......................*................*.*.......**.*..**.................*.**............*.............*.....*...............*...**.........*......*................**..*...*...................**....*...................**.........*.....*.....**..*.....*........................*..................*.....*.......*...........*....*.*.........*..................*......................*.................................**....*.**.....*....................................*.............*....*.**.......*......*...............*.*.......*................*.*....*.......................................*.....*...................................................................................**........*...*.............................*..............*..........*..*.....*..........*..*...*.................................*...*...............*..*....*.**................*...*...*.*....*...*.*...............................*.....**.......*...............*.*.*..............*........*..........*.*........*.......*...................*....*................*.*......*...............**.....................*.............*.*............*........................*.....*..*.*..*..........*..............*......*.*.**....*.....*......*......*...*......*...*.........*.....*....*....................*.............*.*....*................*...................................*....*...............*....................*.........*.......................*......*..*......**....*.*....*.*..*...........*.*....*.....*.*..................*................*...................*....*.*.....*......*.....................*........*............*............*.*.......*.................*..*.....**......................................*..............*.*........*...................*.....*.............*.*.....*......*.*........................*..........*....*................*.*...*.......................*..................*..*..........*...*........*.........*...........*.......*........**...*........*................*............*.............***............*..........*...*.............*..*....*....*.......................**...*...**.................................*....**.........*...**............*.....*..*.........*..........*..........................*...*...*.............................*.............*...................*..*..*........*.................*........*.......*............**..............*.................*.....*....*...............*.........*.*.....................*..............................*...................*.....*..........................*.........*.......................*.....*..............**.....*.*...........*.......*....................*...............*.........*..............**......................*.*.*....*......*.*.....................**.*..**.......*................................................*.*.....*..........*......*.................*..........*......*..............*...*...**.......*.......*.........................*.*.............*..*..*..*....*.......*.**...*..............*......................*..*..........*........*..........................*......*......................*.........*........*.......*.....*......*...*................*............*..*.....*..............*............*....................................*.........*..*............................*............................................*.*....*.........................*.*..............*........*.............................**....*.................................*.*.........*.......................*.*.....................*...*.*.........................*..........*.*....*..*.......................*....*............*.*..*..........*...............*......*...........*.........*.........................*.......................*......*.*...*.......**...*...................................................*.........................................................................*..*.......*...............*........*...........**........*................*.**......................*.................*..*............*..*.......*.**..........*.*................*....*.....*.....*.....*......*.......................*..*.*.....*.*.....*..............*....................*.*..........**.*........................*...*.............*....*.............*....*.**.........................*...*...............*..............................*................................*...........*............*..*............**............*.....*....***............*.......*.........*.................*....*...*.*........*..........*.............*..**...................*....*..............*.........*.....*.*...........*..................*...........*........*........*.........**....*..............*...........*.....................*...................*........................**.........*.......*...*..*............*....*....................*.........................*..*..........*.....*.....*........**.....*........*..*....*.......*..*...*......*.......................................*......................*.........................*..*..........*................*..................*.................**..........*.......................*.......*...............*....*..*...*................*.................................*.................*........*.................*..*.................*......................*...........*......*..........*.....................*.................................*..*...*....*.......*...........*.....*..............*..*.........*...........*........*...*.......*......................................*..........*....*.............*...........*...*...............................*.*.............................................*...........***....*..................*......*..........................*.*..*.*.......*....*........*.......................................*..........*.......*.....................*.................*.................**............*............................................*....*.............*.........................*..*........................*.....*.....*........*..............*.............................*...*......*..............*.......*.....*.................................*.........*.................................*.*.........**.......*.....................................*.*...*..........*..........*.....................*................*.....................*..*.......*.................*.......*..*......................*...............*...........**..*..................*..................***............**........*.**............*.....*.........*.......*.*.............*......................*.*.*..................................*...................*.....*.*.......*...*...*...*......*......**..*.....*........**..*..............*.............**...*................*...*....................**.*........................*....**.......................................................*...*........................................................*.......................*.................*.....*....*............*......*.........*...*.......*.*........*....*....................*......*......*.........*....*..................*..*....*...................................*........**........................*...................*.*......*..*...*....*.....................*....*.......*.*.....*.........................*....................*.......................*.*........*........**.*..........*....*......*.....*..........*..........*..............*.....*.*...*......*.......................................................*...*...........*..*...*.*.*.........**.............*...................*..........................*..*..*.......*...*..........*.........*.........*............*...*.............*............*....*...............*........*.......................*..............*..................**.................................*.*.......*....*..*..................*................*...................................*.........**.......................................*..........................................*.......................................................*.*.....*..............................*..........*........*........*..........*.......*......*...*..................*..........*.................*.*...*...................*......*...............*.......*...*.............*....*........*.....................................................*..*......*.....*...*........*..........................*....*..*...........................*..................**......*.....**................*..*..............................*.*...**....*.......*...*.......***....*...........*..*..*......*.........*...**..................*.*...*.....*....*...............*..............*.......*.....**..........*..*.....*...*...............................................*.............*...*.*..........*...............*...............*.....*..*..*...........*.....*..*........*........**....*..............................*........................*.*..**..................*.....*..........**.*..*....................*...*................*........*...........*.*..*........................**..............................*.............*...........................................*...........................................**........*..*..................*.....*.*.........*.........*................................*.................*...........................................****...*.*..........*...*.....**....................*........*....*.**.*.*..*.*........................*.......*..........*..*.......................*...*...........*..*..........*..........................*...........*...........*.................*...........*.....*......*....*.*.....*.*..................................................*..*.....*..*................................*.*......*..*...*....................*.**.....*...*............*.........*...*............*..**.*......................*.......................*...*..*........*............*.....................*.....*................................*.......*.*.*.*............*..................*.*.......................................................***.....................*....*.*.*.............*...*.*..*.....*......*...*..*...*....*.............*....***.*...*..............*..*........*........*...........*..**..*.......**...*.*.....................*.........*..........*...*....*...**...*...*....................................................................**..*..*......*.....*....*.......*.**.................*.....................*.........*....**...........*...................*..*.....***................*...........*.........*...............*.......................*..*.......*.........*..............*..................*...*......*........*............*.....*.......*........**......*.......................................*.............*..........*.....***...*......................*................*................*...*..................*....*......*...*..*.....**.......*....*.......................**...*.......................................*..*.*.*.....**.......................*.........*......................*................*.....*....*............*....*......*.....*..*...*..*.*.......*...........*.....*..............*...*.....*.............*....*...*............*.......*..............................**.........................................*............**...........**............................*.*..*.......*......*...*............*.........................*..*.................*.*.....*....*.....*........*.....*.................*..*.*.........*..*.............*.....................*...*..*....*.......*................*..*.....*..........*.......*...........*.......*......**...*...*...................................*...*............*..............................................*.*....*.*.............*.......*..*..........*.........**.........*.................*..*..................................................**....*.........*...............*...*......*.....................*.....................*.......*.....*....*...........................................**.................................*..................*.**.*..........*............*.............*...*....***...*.....................*.........*................*...................................*......*..........*.............*..****........................*.*.....*...................*......................*......*...*................*.........**.....*............*..................*..................*....*.*..............*.........*......*................**..........*............*...*............*.......................*.....*..........*......................*.........*.**......**..*.......*..*............*.......*.............*............*.....*.....**...........*...*.............**......*....*.......*.......**.*.......................................*...............*............**.........*.....*.*...............*............................*.**...............*...........*..*......*.....*.......................................................*.............*.....................*...*.*......*.....*.................................*.......*..*.......*..............**.*....*.........*..*.*.............*..................*...*..***......*.........*.............*...*...........................................*.................................*....*..*.*..........*........*...............*....*.......*.........................*..*..........................*...................*...*..*...*........*..................................................*...........................*..........................................................*.........................*.............**..*..........*.................*................*...*......*....**........................................*....*.............*............*............*...........*...............................*...*....................*..................................................*.........*..............*.........*..................*....*.............*.........*.......*..*...........................**...................**.............................*.*.......**.................*.......*.*........*...................*..........*.....*....................*......*.......*............**......*......*.............*.*.......**.*.*..*.*...*...................*........*......*....................*....................*............*...*............*....*.*.........................*...........*.*..*..*..*.......*..............*......*.*...**..........**.......................................................*.*.....*.....*..........*...........*...........*.....*.....*****....*..*......*...*................*................*........................*.....*....................*.....*.***.*...........*..*............****....*.....*.....................*.........*.......*.......*.................................*...............*...............**.....................*....................*........*..............*.....*...*..........*...................*..*.*......................................*.....*....**..*...*............*...........*.*...................*.**............*.*..*...............*..................*......*.............*............*...............*.................*..............................*...*...................*.*.......*...*...*...........***.......*..*.................................................*........*..........................*.*.........................*...........*...*...............*........**..............*...*............**..*......*..........*.........................*..........*.......*........*.........*........*.......**.*..........*....*.........*.............*...*......*..*....*....*............*.*....*...................*....*...........*.....*..................*...*...........*............**........*.....*..*......*...*.......*.*..........*.***..*...*.............*.*........**..*.*......................*....................................**...............**...........*.......................................*...*.............................*.........*.*........*......*.......*.......*........................*...*.*...............*...........................*...............*.**.*.*..*.............*....................*....*...........*...*.......*.....*.......*...............................*..............*.............*..........*..............*.....................*..............................*............*............................*..*.........*.....................*..........*....*...........*........................*..............*...............*.......*.*..................**.......................*...*...............*..*..........................**..............*....*............*...................*..........*......*....*..................*...........**.......................*..*.............*...............................*..*...*.....*...................*..**........**.....*.......*...........**........*..*...*......*..*....................................................*.......**..*..........*....*..................*................................*...........*..*............*.*.*...*........*.......*......**.........*.....*........*......*...............**.........*.......................*.......*....*........*..............................................*....*...........*........**.................*.......................*...........*.......*...........*.............*..................*................*...*.....................*...............*..*........*..........*......................................*.*.....*.*............*.*....***..................*.......*...............*...*............*................*...........**.......***...*.................*.........*...*............*....................*...............................*......................*.......*............*.........*.*.................*.*.....*..........*.....*......................*............*.*......*...........***....*.............*...................**.*......................*.*........................*.*.........................*.......*.*..*..*.......................*....*..................*.........*.....................................................*.*......*.....................*.......*....*.....*...*.......................*......*.........*....*..................*.............*....*...*....*.**............*.................................*.........*.......*..........................**..*.......*..........*.......*..............*...............................*..*.*.............................................*...................*.............*............................*..*...*.............*..............................*..................................*.................*....................................*....*.......*...............*............*.....**....*.*...*.*.....*......................*...............*.*................**................*...*..*..*.*...................*...................*......*................*......*.*...***...............................*........*.......*.....*..................................*...*.........................................*..........................**.................................*..*.........................*......*......*.......*..*...........................................*...............**....*.*..**..*................*.....................*......*...*....*....*.................*...........*....*...*....*...................*.**.............................*...*......*..*.................*.............*..................*.*......**..............*.........*.*.....*.............*..............*.....*.*...............**.....*..........*...........*........*......**...................*...............*...................*........*.................................*....*......*...*..*.................**...*......*.**............*.....*.....................*.......*.....................*.......................*.......***........................*..........*.......*.....*.........*.........................*.......*.........*.......................***................................*.........*...................................*..*........**..*.....*.......*....*....*...........*..*................*....*..*..*....*.........*.................................*...........*...............................................................*...*.........*........*............*...................*..................*.............*..*...........*..........*............*...........*.....................*.......*.......*..........................*....*.....*....**..*....*.........*....*...*..........*.*.*..............*....*........*....*..........*.............*.*....*......*.*...*................*....**...*..............................*..*............*.............*..........*..........*..........*..*............*...........*........*................*..*........*.**..........*......*................*....*............*.........*....*.....*.......*.........*..........*...**.*.....................*................*.*...................*.................*.............*.....*..*.................*.*..........*.....*.................*.........**.....**.......**............*.*...............*.*..........*...*..............*..............*.....*......................*...**....*............*..*........*.....*...........................*..**.*...........................*......*.......................*.....**.......*..........................*............*.....*.......*...................*.*..............................*.............*..*.....*.....*......*.........*...**..*.........*.*.............................*.....*.........**....*......*...........*........*.......*.....*...............*...*....*..........*...*..*................*..........*.....*...............................................*.......................*..............*.............*........*..........**......*..*...*.....*........**.....................................*....*...*.......................*..............*....*...........*.......................................................**.......*.....*..............*.....*............*..*.........*.....*.....**..........................*.....................*.*.....*............*..........................*.....**..............*....*.......*..........*....**.....***........**....................*...*..............*..............*......*...*..............*.*...................*......*...........................................*......*.*..............*.....*.......**...*..........**.....**..............*.....**.......................................*......*.*.........*...............*............**..*...........................**.*..............................*....*..*......*......................*..*....**........*.........*..............*.......*...............*.*.*.......*......*...........*.*....*.*..............................*.*........*........*...........................*.....*.......................*.........*.......*...........*......*..................*..*...........*...............*...**.**...........*..*....*............*..............*......................*...*......*....**...*..*......*............*.......................................................*.........*.*..........................*.............................*....*...*............................*..........*....*...............................*.................*....*.........*..*......*.*.......*...............*..................*.*..............*.......................*...*....**........*..................*..*.....................*....**.................*.*.....*.*...***..*....................*..........*............*..*...*.........*..........*............*..........*.*......*............*.*......................*.......................*..............*..*..............*......*.*..*.*..........................*.**.......*.......................*...........*........*.*........*.............*...*......*...*....*............*.......**...............*.........*.....*................*...*.........*...........*...............*............*................*.........................*................**.....*.......*.........*...........*................*..*..*.....*.......*....*..........*.*...............*.....*..*.*.....................*................*...*........*.............................*..*...............*...*........................*....*.....**.......................**...........*......*..*....*........................*.*...............*............**.....................*.......*..*............*..............*...*..............*.........................*......................*...*...................*.........*..*.....................***.....*............*......................*.*..*...........*...............*....*..............*........................**.......*.....*.....*......*.................*.*..*.....*...........*.............*........**...*....*...*................*.............*....*.**.*.....*........*.............*.......*.*..*............**...........................................................................*....*....................*.....*.*...*.*...*............*...*............................................**...*.........*..................***.........*...............**........*..*.....*........*......*...............**.....*.....................**.........*...................*......................*.........*...................*..............**...*.........................*.................*..*....*.................*...................*.*...............*...............*...*.....*.....*.........................*..*....*...........*.............*...........................*....*..*...................*.....................*.....*.....*.......*..*...............*...*....*.........*.......*...........*.*.*.*..............*.......*....*.........*......*...........*....*...*................*.*..................*..................*.............*...........*......................*...................**.....*..............*........................*......................*........*.**..*..*................*..............*....................*.........*..........*........*.........*......*....**.*....*....*....*.*..........*..*.*......*....*.........*....................*...............*......****......*......................**..................*...........*...........*......*....*.........................................................*...*.....**............*.....*....*......**....*.*..*...........*....................................*.*................................*...........*.*...*......**...**.*......**..*......*..*...........*.*..........................*.........*..*..*.......*...............*.....................*.........................**....*..........*.*..........*.........*....*..........*...*............*........*..................................................*.*...*......*..........*.............*.................................*......*.**...............*..*.....*...................................*...............*............................*.*...*.............**....*...........*.........**........**......**..................*.....*........*...*...*.......*..........................*...........................*...............*......*.......*.........................*.......**...........*...........................*.........*.....*...............*......*.....*...............*..................................*................**............................*.*...*........*................*...........................................*....*.*.................*...*.*...*.....................*..........*..............*....*..............*............*........*...*...................................................*.........*................*.....*..*...*...............*...*............*.................*.................*............*....*.............................*..........*.*.............................*..*.........*............*................*.....*......................*................*.....*......................*...*.*............*.*.....*..........................................*..................**.*.*.........................*..*....................*..............*......................*..*...............*.*..............................*.....*............................*..........*............*....*....................*...................*.....................................*.......*.**.**.....*.........*....*............*..*....*..................*.......**.................*..................*..............*.........................**.......................*..*.........*......*......*...*..*......*...............*................*...*............................................***.......*..........*.....*.................*..*.......*..............................*....*..............*..**................*...........................*...............*..........**.................*.*...........**...........*............*.*....................*............*............*...................*..........*.....*........*.......*.*............*...................**.*.................*.......*......*.................*....*......*....**....*.*...........*........*.........**....*....**...............*.*..............*....*.....*..*....*........................*.......**............*.*.....**.......*.........*......*.....................*.....*...*........*.*........................*.....*..........................*.......*..*......................*.....*................*..*.......*..........*......*...................*........**....*..*......**.........*....*..............*............*.....*......*.........*.........*....................*.*......*............*.......*..............**......*........*......*......*..*.........*..................................................*..............*.....................*......*...................*.*...*.....*.....*............*.........*..........*..............**......................**..............*.*......*.......**......*...........*...................*...*............................*......*.....*......*.......**................................*.....*..................................*..............*..*........*...................*...*...*..........*...................**................................*.....................................*...............*........*.......*..........*..................*......*..............*.......................*..*...............**.............*.*....*.........*....................*.......*..*.................*...*........*..........*......................**.................*.............*........................*........*.................*.....*............*...*....................................................*.......*...............*.....*...*...........*.*.........................*..........*..........................................................*.........*........*...***...*........................*.*.....*..........................*.....*..........*...**....*......*.*..*.......*..*...........*............*...........*..................**.................*....................*..*...*.*..........*.........*.......*..*.......*...............*....................*..*...*........................*.................**...................*..*.**...................*.....*......................*.......*................*......*.......*........................*..............**..*....*.......*.................*.............*...*...**.....**.......*....*.......................*.......*........*..............*.**....*.........*.*...........*.........*..................................*.*.*..*......*.....*.......*...........*........*.......................*........................................*.................*...*...*............*....................*.........................*...*........................................*..*.........**...*...*.............*..*.............**.....*.*.*.*................................................*.*..*.................*.......*.............*................*....*...*......................*...............*...................*..*..................*.**....*.*....*............*....*.......*..*..................*....*..................*......................**..*.*.*...*...*.......*....*..............*.....*................*....................*.....*..................*.*............................**..*........*..*..........................*..*..............*...............*.........................*.*.....*..........*................*.............*.*............*....*..*..*......*.....**......*...................*..*....................*......*.........*.....*.......*..........................*......*..........*.......................*.............*..*.......*.........*.....*...........*....*............................*.*.............*..................*.........................*.........*...*..........*.**..*.......*...**........*.*......................*.*...........**.**...**.*.........**.................................................................*.............*..*.................**........*............*....................*...*............*..*..........*.....*....*....*.....*...........*.*.*......*.......*..........*.........*.......*......*...*......*.....*......*..*............*...........*...........*.*............*.........*...*.........*.........................*................................**....................*...................*.*.........**.*...*.......*...............*.......*......*......*...................*............*..*..................*..............................................*....*......*...*...**.....*.........**.................R...............*...*.......*..*.................*..............*..*.............*........................................*......*.......*....................*..*.*.................*.*..............*......*...*.........*.......................**.*................*.....*.......*........................*....*.................*.....*..*...*........***...................*........*..*............*..........*.................................*.*..................*....*.......................*.......*.***....................................*.........*......*.................................*................*................**..........*...........*........*....*...**.................*............*.........*........*.......................*.*....................*.......................*.............................*.....*.*................*.................*.................*.....**................*.*...*................................**....*....................*....*.......*.......*...........*.........*...*...*.*..*..............*..*........*......................*..*...**......**.....*..............*..............*..........*.......*....*.......*.*...............**.............***.....*..*.......*..........*................*......*.....................................*.....*.........*...................*...........*........................*.........*.............................*.*..*..........*..............*....................*.*.......*..........*..*...*...........*........*.................*................................*...........*.....***........................*..*...*..*..*........*..*.....**.........*.................*..............*............***...*..........*............*.........*...*.......*.*....*......*.*...................*...............*.....................*..........*...*.....................*.............*.......*.*..*...........*..**.*......*.............*.*.......*...*..............*.......*........*............*....*....*...................*..........*..**...*..................*.........*...................*.............................*.........*........*..........*..*....*.*.................*..........................*..*.................*.*.*......................*............*...................*.........*.*.......................*....*.................*.*.**......*.............................*........*..........................................*.*..*....*............*..*.................*...............................*......*.*....*............**.......*....**.......*........................*..................*...................................*..*............*..*..........*...***..........*......................................................................................**..*...........*......*...........................*............*.*..............................................................**...............................................*..........**.............*........................................*........*........*.........*.**..........*....................*..*.....*...................*....................*...*.....*......*...*................*..............*.........................*...........*..........*..........*.....*..........................................*..............**..........**...*...*.......*.......*...............*.................*........*...........**.................*........*...*...............*.........*.....*...........................*...*..............*.................*...........*....*..*.........................................**............*.....*.......*.....*....................................*.................*.....*................*.*....***.......*..................*..............*.................*...**........*............*.................*.....*........................*.*....*.........*................................................**......*........................*..**..................*..........*.*...*.......................................*..........*.............*....................................................................*......*..**.......*......................*..........*.......*.*.............*...*..............*.......*.....***...............*.*.....*...........................*.....*.*..*...............**.......*..*............*...*.........*...........*.............*...............*.*...............*..*..........*.........*......*....*............*........*....**..................*........................**...........*...............*...*.....**...............*...*..........*...*...........*....................**.............*..*...........................................*............*..........*........**.....................*..............**.*.*..................................*..........*................*.*....*.*.............*...........*.......**.*.*........*...**.......*.....*.*.......*..................*......................**...*......***.....*...*.....................*...*.......................*........*...*...*...*...*.....*......................*..............**..*.....................................*.........*.*..................*.....**....*....*......*.......*.......................*................*..*......*..*.........*...*.*.................................................*....*...............*............*..................*.....*.............*...*..*......*.............*.......*..*....*.....................*..*................................................................*.*...............................*.........*...*..*..*...........................*..*..........*................................*......*................*..........*...*.......*.............*.........*.........................*.................*................*.......*.*....................*......*............*............*..*..........*.**..*.......*..........................................**..................*............*...*.....*..........*......**............*.**...................*.*......*.................................**................*.*..............................*.*..*...............*..........*........................................*............*..............*.*......*...*.......................................*...*.*.....**.............**....*.........*.*.....................**....*.................*.*........*...**.....*............................................*.................................*.*...........*...................*................***..*.............*.....*....*..............*............................................*.............*..............*..*....................................*.........*...................*.................*........*........*................*........*.*.*......*...*........*.....*...*.........*............*...*.*..........*.*....................*.*..*...............*....*..*............*...............*..*...*................*...........*.......*.....................*..*.......*........*.....................*.*.....*.........*............*..................................*..................*.***........*....*....*...............*........*..*.*..*.**........*...........*...*.......*.....*.............*.*..............*.................*............*.........*..................*****...........**.......*.....*....*................*.......*..*.....*.......*.................*...........*.........*..*.............**.....*......**....*.....*........**.......................*....*.......*......*..........*..................**....*....................**.......*..*........*...**......*........*........*..*..........*........................*........*..........*.......................*....................*.............*.*............*..........*..*........*.........................*........*..*.................*.*.........*.............*...............*..............*.*...................*....................*................*....**.....*...*.................*.............*..*..*..........*..............................................*...................**........*...........**..................*..*...............*.......***.....*.....*.....*.......*...***........*..*.*...*........*..*..........*.......................**........................*.**...*...............*.*...**.......*.............*.*..........................................**.......**..*....*...........*....................................*.....*........*..........*....*....*............*....*.................*..............*......*........*.....*..*...*......*..*..*.....*................*........................*...............*............*......*...................*...............*.................................*............**..*....................*.......*.......*.*.*...............*...........*...*...............*.................**..........................................*.............*..*.............***......*.....*.....*........*..*.......................*...*....................*.*...............*.................*.........................*..*...*....*......*....*..............................*..*....................**.*.............................*.....................*...............................**.................*............*.....*...........*..................*..........*..............*.......**....*....**...*.......................*...*......*....**.....*.....................*...............*......................*............*.................*..*....................*..............*.*...*..................*...*..................**.......*....*...................*............*......*.......*..*...*....*...*...*....*.*.*...*....*..*.......*....*.............*............*..*..*.*......*............*......................................................**..............*..............**.................*.*..............................*..*.....*...*.......*...........*......*..*...................*........*....*........*..................*.*..............*........**.............*.....*...........*..*..**..............................*........................*..*...*...............*...........*.....*..............*..............*.*.*.........***.*.....................*..*......*...........*................*...............................*..........*...*...*.*......*................................................*.....*.*.....*..............*......................*............*......*.............................*...............**.*.........................................................*...............*........*......*..............*.........*........*..*.......**.................*.................*......*.................................................*.*..*.............*....................**.......*...................*......*..........*...................*...*.**.........*...*...................*......................................*.......*..........*............................*............*.*......*.....**..**........*........*...............*.................*.*.......**.*..........*........*.......*................*..............*...*..........**.....*............*..*.......**............................*.......*.*......*...*.................*.................*.....................*.................*........*............................................**.....*..*................**.*....*..................................................*.....*........*.....*...*..*.............*............*.....*.....................*........*..............*................*....*.*..................*......*...........*..*..................**..............*..*............*..........................*.............................*....*.........*.....*..*........................*.*..........*.......................*.*.*....*........................*.....*....*.......*.......*.................................*...*...........*.....*................*............*.....................*..*...*.***....*......*.........*............*.............................................*.........*.....................*.............................*...*.*.................*....*...............*.*..*.**..............*......*..........***.......*.....*...*..*...*....*......*.*.........................*.........*.........*...........*...*...................................*................*............*........*...........................................**....*...............*.......*....................*....*......*...*..*.*...........*...................................**.............*..*.*.*.................*..................**.*....*.*............*.......*.............................*.....*.........*............*....*..............**..*...............*.....*............*.*.................*...........*........*.......*.........*.................*..*.....***.....*...........*.................................*.............................*..........*....................***................*.....*...*.........*.......*.........*.*..............*..........*.......................*...................................**.....*.......*........*.......*...............*....*....*.....*...*..*.........*...*.*..............*..**............................*.......*..........*.....*........*..........*......*....**........................**.............................................*......................*..................*........*......*...*.....*............*..................*..*....*..................*..............*........*..........*..*..............................*...*.................*.................*..........*.*...................*........*...*.....*............*.....*.............**..*...........................*.*..*..............*........*.*..*..**..............................................*..........*...*............*...*...*...........*................*...*.......................................*.........*......................................**.....*......**.................*..*...*...*......*.....*....*........**............*...................*......*...**................*.........*.......*....................*....*.*...............*..........................*.........*.*.......................*...........*.....*...*...........*......*..........*.......*........**.......*............*.......*..................*......*.........*............*.....*..*.*.*......*................*............*......*..............*..*.....*...............*.*................*...*.......*....................*....*.....................*....*.***............*...............*....*.......................*...........*...........*..........*..*.......*........*....*.....*..........*....*....*....*.*.*.......*...........**......................*........*.........*..*......**................*.....................................*......................*.......*....*...........*...*......*.............*......*....*.**...............*.......*......*...*..........*.*.*.............*..........................*.......***...*........**....................*......................*....*...*..................*.......*..*.......*.........*..**.*...*......*...*....................*..........*............*.*......*..................*.............*................*...........*.*.*.......*..............*....*.*.........*......*..........................*..........*.................**...............*..............**........**.*...........*...*.*.....................**.*...*.*.........*.....*......................................*........................*.*.......................*.......*..........*...............*...*.....*....*..........*......*.....*...*.....**......................*.*......*...*...........*.*.............*............*...........................**........*.....*.*..................*..*...*.......*................*.....*....*.......*.*...*..*.....*..........*..*.....*........*.*.......*..*.*........**.......*...*.............................*......*........*.......*.......*.....*.*....*..*.........*......*....*......*.............*.............*...............*........**................*.................................*...*............*....*.............*.....*....*........*....*...*..............*.*...**.....*...*.............*....*....*..*.*...................*.....*....*.......*.*.........**..................**...*........*....*..........*..*.....*..............*.....................*........***..*.........*.........*.................*..*..........*.....*.................*....*.*..............................................**............*........**..............*..*........................*...*...........*.......*..............*..*...............*.*........................*.*................*.....*.................**...**...*.*...*..*.*...**.........................*...*......*...........*..........*.....*......*...........*.......................*...**............*.................*...........**......*....................*.............*........*.......*..........*...............................................................*......**...................*..*..................................*......................................*..*..*.*...*.................*.............*.*...........*.....*.......................*...........*.............*....*.*...............*.....*........*...........*.............*........*....*.........................*.........**.......*...*....*.....**........**.......................*.....*.......*.....................*..............*..*......*........*.......................*..*.**....*...........*...............*...................................*.**..*.........................*....*....*...*................*...**.............*.........................**....................................*.......*...................*.**.................*.......*.........*.....*......*.*......*.....*............*......*.................*...*....................*................*......*..**......*....*.....*.*........*........................*.*.....................*...........*.**.......**.....*..............*.............*.......*...**............*..*.............*............................*.*.................*....................*.*...*..........*...*.....*...**.....*......*.........*......*...*.............*...........*........*.............*.......*.....*............*.......*.........**...*....*...*.......*.........*......*.....................*.............*.........*...................*.....*.......................................*.........................*.....*........*...........*..*......*............*...............*......................*..............*.............*.....*........*..*........................**.....*.*........*..............*.........*...................*.......*.*..........*..........**....**.......*.*.....................*.............*....**......*............................*..........................*..*........**..............*..........*...*...*...*....*....*.*.....................*.**.......*.....*..........*..............*..**...............**.........*...........................*.*.......*...................*.........*..........*.............................*............................*...*...................*.....*....................*....**........*...*.....................*.............................*...............*.....*........................................*...........*.................*.....*...*.*.....*..*.........*...*..............*..............*........*.....*.....*...................*.....*.....................................*..*...*......**.............*...*..............*..*...**...*......*..*..*......*..........*.*...........................*.......................*...*..*.................*............................*................*.......................*..**................*.*.....*.......................*............*..........*..*..........*......*.**...........*........*...*..*..........*...**..*................*......*..................*...........*.....*..*.*..*...*.............*...........*....*.....*........***..............*...........*...........*..**..*............*..........**..*...................*...*...........*.**....*..........*.............*..........*........................................................*.....*.*......*..................................*..........**..........*..*..........*...........*..........**..*........*......................*.*........*..*..*....*.*...............**...*..........*.*..*..*...*.*....*..**.....*.*.............................*.*................................*........*............*.............*..........*............*......................................*......*...*.......*...*....*...................*...*.......*........................**.....*.........*.............*.........*....*...*.................*..*..............*.........*........*.....*....*.....*..................*.................*.....*..*.*..............................*..................*.............*.........*.................*.....**..........*............**......*................**..........**..*...*......*..*.....*.....*............*.......*.........**.....*..........**.....*......**......*.............................*..............*.....................*.*.......*.................*....*.........*......*..............*....*............................*............................*.......**.............................*.............................*..*.........*..........*........................**..........................*......................*..*.............*...........*..*.*.....*......................*..*.........*.............................*...........*........................**...................*...................*............*........*.*......*...........*....*.................**...*..*.............*.................*.....*..........*...*.*..*.**.....*................................*......*.................*.........*................*.*....*...........................*..........*..............*...........*.....*................***.......*..............................**.........*...........*....*.........*....*.....*.............*.........*..............*................**...**........*......*...*...*.......*............*.*.....*.................*...*.............*.....................................................*.*......**................*.......*..*.......................*............*.......*....................................*....**.**.....*............*...................*.....*..........*..........*................*....*.*.....*......*........*........*.......*.................*.............*.................*...*.........*.............*.*...................................*..........................*......*..*.............*.....................**...........................*..*.*....................................**..................................................*...........*.......**.............**..........*....*......*........*.........................*.......*......*......................*.....*.........................*.........*...*..........*.....................*.......................*.......**...............................*............*......*..*.....................................*......*...**.........*..*..*.......**.......*.........*................*......**........*.*.......*..**...*.........*...................*......*.........................................*......*...................*..............*.**....*...........*............*.......*.*..........*...............*.....*.*...*.....*.....*.......*.........*.............*...............*...................*...................**...*.........*..................**.*.*................*...*..........*.......*.........**.......*..*..........................................*..*....*...............................*..................*........*..*........*....*.........*..................*.........*...........*..........................*.............**.........*......................*...*...*........**......*.........*............*...*.........*.*.....*.*...............................*..........................*.*...........*....*.....*........*....*.........*.................................***....*........*......*........*...................................*.......*........**..........*..........*.................**...**.*..*.........*.*........................*...*.....*....*..*...**......*..............***..........**..*................*...*.....*..*..*.................*..*............*..***.........*......*.*.....*.........*....**..............................**...............*..............*..*..............................*...*....................*...............*......**.*....*.**..................*......................*.....*.............*.................*.....*...........*.......*....................**..*............*..........*....**.....................*...*..........*..................*..................*...*............*.....*......*...........................................*............*....*..................................*..................*..*.....*..............**.........**........*..*....*........*.....*....*.....*............................*..........*..............*......***.....*..........*.*...*......*........................*....................................................*...*..............*.....**.....*.......................................*...*....*......................**.....*................*...............**..............*..........*.....*.........*...............*...........**....*..........*......................*.........*........*.....*.......*.....*....*....*...*.....**........*.......................................*....*....................*...*..................*.........*.......*....*.................*...........**..*........*...........*......*......................*.........................*.*.........*..........*.........*...*....*..*............*....*..........*...........*.*...................*...........**....*.*...............*........................**...*.*...............*.......*......................*...........................*..............*.........*.........*..............................*......*...*...*.......................*............................*...*...*..**................*............*....**.........*..................*...*.................*..*..............*......*.......................*................................*.............*........*..........*.*.........*....................................*..**........................*.*.....*......*..*.....*.*..................................................*.......*......*......*.*...*...*............*.......*...*.........*........*...........*........*....................*.........*.............**...*.................*...*.*........*..............*..............*....***...*.*...................*.......*............*.........*....*.......*.*....*............................................*...........*...*......*...........*..........*.*...*.....................*..................*.....*............*.....................................*...............*....*.......*..*.*...........................**....................*......*.*...................*...............*.*.........................*........*....*..*..................*..*...........*....*....*..............*..*.....*............*......*......*............*.*............*.........*....*.....*...*......*..*........*...................*...*.....*.*............**................*..**.............*................................**...*.............*.............*.............*..*......**.*.........*..............*..............*...*............*...............**...............*.................................................*.............*.*.*.....*........*.................*...............*......*....**.........*.........*..*..*..............*..............*.*..*...................*......**...................**................*.......*....***..........................*.*.......................*........*..**..*........................*...............*........................*.....*...*....*................*...................*...........*...**......**..*...........................................*....*..*..............*............*.......*..*.....*............***...................*....*..*......*........*.*......*..........*................*..*......*...*............*.........**...........*.........................*..................**......*..***...........*.*.........*.*.*......*.....*.........*......*..................**...........*.......*..........*........*....*...........*......*..............*..*................*...*.......*.*.*......*.*...*..**..........................*...*...*........**...*...................*..............*..................*...*...................................*.......*....*...........*..**.................*......*..............................................................*............*...........*.......................*..*.........*.......**...........*..*........................................*.......*.....*.....*....*...*..........*.*...*...............................*....*......*....*.**............*...........**.....*....*.*..............**...................*......*....*..........................*...................................*...............*.*...*....*......*........*..*...***.................*............*.*...*.......*....*............*....*......**................*...*....*...........................................................*...........*.....*.**...................*........*........................*.........................*..*............*.*..............*...................*......**..........*.........*..................*.....................................*.**...*.*..*.....*................*..*......*.......*.................*.....**...**...................*........................................*...*....*...*..........................*.............*.........................*............*................*..............*...........**...*..........**....................*...**............*.......*................*........................*....*........*...*..*..............................................*...........*..*........*....*.........*...**................*.......*.*....**...............*..*.......*.*....*.........................*...***.................*............*....*.*.....*...................................*...*...*.......*.......*......................*..........................*...*.......*.....*.....*...............*...*..*.*................*.........*..*.*..........*..............................*.............*......**..........*........*..............................................*..........**....*...*.............................*..................*....................................*.....*....***.*..............**.....*.**.....**.....*.....*...............................................*........*........*.*...*......*......**..**...................................*...*.*.*..*................*....*.*.***..*......**......*.......*........*....*......*.......*....*.*...............*.........................*........**.............*.....*................*.........*.....*...*....*............**.*.................*...*...*.....................................*........................**............*..................*...........*.*...............................*...............*....*..*.*..............*..*.............................*.........................*.................*...........................*..*.....*..........*.......*........*.........*.....*.........*..*...*........*..*................*..**..............*.....***...........*...*......**.....................................................*..*....*...*.......*........**.*..*.............................*...........*..........**....................*............*.....*......*.....*..*.......*.........*...........**...**...............*.........*.........*.....*..................*..............*....*.....*.....**........*..*..................*................*..........*..*.*............*......*........*.....*..............**...**.....*...*.....*.....*..................*....*......*........................*...........*.........*......*..*......*...............**...*..*......*......*..*...................**.........*..........*..*..*..........*..................*..............*..................*.......*..*.....*....*........*.........*..............**.*....*...........................*..........*.....*.....*..............................*...............*..............................................*.......*...........*.......*.........*......*.........................*..*...*...*.....*....*.....*....................*...**.................***.....*.....*..........*.....*............*..*..*....*.......*....*.................*..........*......*...*.**..............*...........*...**....*...........................*...........*....*..*........*................*...........................*.......*................*......*.....*.....................*...*.....*......*....................*......*..**.........*.......*........*..*.......*.*...............*......*......*.*..**.*......*...*.*......................................*....*....*.........*..............*....*...*............*..*......**........*......*.........*.*...**.....*.........*........*.............................*...*........*........*..........*..*...........................*..*........*..............*.....*..*...........*......*..........................*.................*.....*...*...**.....*...*....................*......*..........**..........*.......*....*....*.......**.............*..*....*...*.........*.......*................*....*........*......*...............*.............................*.*.*.....*.....................................................*...............*.............*..........................*......................................**.......................................*...................................*..............**...*.......*..*...................................*.....*...*..*........*........................*..............................................*.*..*.........*...*........**......*........**......................................................*.....*...*.**......*..........*.......................*.*..........*.......*.....................*...*....*.........*..........*...*........*............*.*.........................*..*.....*..........*.....*..........................*.......*............*...*.........*.......................*...*.......................*........................**...............*.........*............*.......**.........................*.*.....*.............*......................*............*...*...........................*........*..........*.*.....*...................**....................*...................*..**.*...........*.....*...*...........**.....**...................*..............*.................*...*.......*.......*...*............................*...........***...........................*..*.*.....*...*..................*..............*..........**.......*..........*.*............*......*.................*..*........*......................*.*...*....................................*.................................................*..*...*....*....*..*..........*...........*........*.......................*......*.*.................*....*..*...*...............*....***...................*..*......*.....*....*...................**........*.*..*...............*.................*....*..*.........*......................................*..........................*....*.......*.........*......*..........*.......*...*...........*.*................*..........*.....*..*..............*................*..*...**.............................*.........*.*.................*..................*.................**..........*.......*......*....**.*..........**.*..*......*.................*.*.*.......*.........*.....*...*............*...........*...*..*......*..................................*......*....................................*...........*......*..**.....................*.......*.................................................*.*..........*..........*......................*...*...............*.**........*............................*..................................*.............*...............*..*..........**..........*.........*.*..*..........*...*....*.......*...*......*.*.............*..............*............*..............*.*...*.......*......*........*..**..............*...*..........................................*..............*....*................*...*...............................................................*......*...........*.......................*...*...***..........*...................*..*.....*..........**..*.*.....*.............*..*.........**...**.*.................*............*.*...*...........*......**...........*........*..*.*.......*.....*...............*...........................*..........................*....*.*.*........................**............**....*.........................*...*.*.......*...*........**.....*....*.....*......*.*............*....**........*......................*....*..**............................*..........*...*.................*....*..*..........*...*.............................*........*.............*.....*...........*..*.*........*..............*...........................*................*...*......**............................................*.............................*.....*........*...*..**.................................*.*.*......*.................................*.............*..*..............*.......*....*..................*..*.....*...**..*....*...........*.......*..............*........**......*....*...........................**.........*...........*................................*........................*.......*.........*.......................................................*....**...........................................*.....*........................*....*.*.....................*.**......*.....................................*..*......................*...*......*..............*...........*.*....*.*....................*....*............*..*.........*.......*.............*.**.................*...................*...*............................*...........................*........*...........*...........*............................*......*...........*...................*....**...*.........*......*.......*....................*.......*............*...............*.....*..................*......*....*.........*.**.....*.*..............*....**....*...............*...........***.*..*..........*.....**........*...........*.*...*.....*...........*......*.....*....*......*...........*.....*.*..................*............................*..*........*...........*..............*.......*.**....*..........**....*.....*..**.................................*.........................*......................*....*.......***..*.....*.....*...*....*................*.......*.....*...........*............*....*............*.........*...*.........*....................*...................*...*......*.*................*........*...*.....*...........*......*......*......*..................................*...............*.......*..............*.....*.....*.......**.....*....*......*.*...........*........*.....**...*.......................*........*......*..............................*...............*.............*............*..*............*.*.................*.....*...*...............**...*.*......*..................*........*......**............................*...*.....*........*........*..................................*.................*...............................**......*...*.........*...........*..**.....*.....*..............*....*.......*......*...................................*.........................*.........*................*..........................*.....*....*...*................*......**.........*......................................*............*...............*........*...........................................................*......*............*.*.....*.............................*...*...........*.......*..*...*.......*................*.......*.*...............*......*......*..........................*.....*.*.............*.................*.*.....*........*............*..*.......................***.......................*............*.............*.....**........*....*.....*..............................*................*.*.....*.*......*.........*....*.......*....*....**.*...**..........*..*..............*................................*.....*..........*.........*.......*........*...**................................*...............*..*...*............*...*.....*........*.......................*..*...*.....*.................*.................*..*..*...........*...*......*.........*.....**..................*......*.*......................*.......*...........................*...........*................*.............*..........*.*..........*.....*.....................*....**.........**.......*.....**............................................*.*.*....*..*..*.*.................*....*..................*..*..............*...*..............*.......*......*........................*.....*.........................*.............*...*.**...*.......*..**........*.....................*.....*..*............***.*....................*................*...................*.......*.........*........*.....*..................**.........................*.....*........*....*...................*..*....*.....*.........*....*..................*.........*...........*............*...*.*..*..............*......*..........................*............*....*.................*.....*.*....*......*........................*...........................*..*.........**..*.......*.................*...*..*..................**.***.........*.*..*..*............*..........*......*...*...........*.*....*..*..........................................**...**......*.....*...**.....*....................**.....*.................*........................................................*.............*.........**......*.*...*.*............*.......*.................*........................*...*.**......................................*.....*.....*.....*.*...........*.........*.....*...................*....................*.........**........*..........*.......................*.......*...............**.................*.*...........*....*.....*........................***........*..*..*........*.........**..*...........*.................*......*...*...................*....*...*..*.......................*.........................*..........*...................................*..........*..................................................*.......*...................*.....*........*......*.........*........*............*..........*.*............*...*.....*.......*.*...................*..*....*..*......*...*.....*.*.*........*..*.............*..*..*.........................*.........................*..............*.*.*.........*.....................................*.....*......*.....*..........**.........*......*........*......*.*...............*................**.............*.....*.........*.....*......*.........................................*.......*......*.*...*...**...**..*.....*....*.....................*...*.........*.............**....*...........*......*......*.........**...*.................*............*...*...............*..**...**......*.................*.....................*................*...*...*..*......................*..........*...................*......................*...........*..*....*.....*...."
a = merkit.split("R")
b = list(a[0])[::-1]
c = list(a[1])
outDist= 0
dist = 0
coin = 0
b.insert(0, '.')
c.insert(0, '.')
needToCheckB = True
isb = True
isc = True
bvals = [i for i, x in enumerate(b) if x == "*"]
cvals = [i for i, x in enumerate(c) if x == "*"]
bcount = b.count("*")
ccount = c.count("*")
bchecked = 0
cchecked = 0
bx = bvals[bchecked]
cx = cvals[cchecked]
if ccount != cchecked:
cx = cvals[cchecked]
else:
isc = False
while True:
if needToCheckB:
if bcount != bchecked:
bx = bvals[bchecked]
else:
isb = False
else:
if ccount != cchecked:
cx = cvals[cchecked]
else:
isc = False
if isb and isc:
if bx + dist < cx - dist:
outDist += bx + dist
dist = -bx
coin += 1
needToCheckB = True
bchecked += 1
elif bx + dist > cx - dist:
outDist += cx - dist
dist = cx
coin += 1
needToCheckB = False
cchecked += 1
else:
break
elif isb and not isc:
outDist += bx + dist
dist = -bx
coin += 1
bchecked += 1
needToCheckB = True
elif isc and not isb:
outDist += cx - dist
dist = cx
coin += 1
cchecked += 1
needToCheckB = False
else:
break
print(outDist, coin)