by@satos___jp
WA
3442ms
>>>>>+>++++++++++++++++++++++++++++++++++++++++[>++++++[>+<[>>>>>>>+<<<<<<<-]>>>>>>>-]<<<<<<[<<<<<<<]>>>>>[>>[>>>>>>>]>>>>>+<<<<<<<<<<<<[<<<<<<<]>>>>>-]>>[>>>>>>>]>>>>>-]<-[+<<<<<<<-]>>>>>>>>>>>,------------------------------------------------<<<<<<<,------------------------------------------------>,[-]<<<+++[[>[>>>>>>>]>>>>>>+<<<<<<<<<<<<<[<<<<<<<]>>>>>>-]>[>>>>>>>]>>>>>>-]>>>>>>>>>,------------------------------------------------<<<<<<<,------------------------------------------------>,[-]<<<+++[[>[>>>>>>>]>>>>>>+<<<<<<<<<<<<<[<<<<<<<]>>>>>>-]>[>>>>>>>]>>>>>>-]>>>>>>>>>,------------------------------------------------<<<<<<<,------------------------------------------------>,[-]<<<+++[[>[>>>>>>>]>>>>>>+<<<<<<<<<<<<<[<<<<<<<]>>>>>>-]>[>>>>>>>]>>>>>>-]>>>>>>>>>,------------------------------------------------<<<<<<<,------------------------------------------------>,[-]<<<+++[[>[>>>>>>>]>>>>>>+<<<<<<<<<<<<<[<<<<<<<]>>>>>>-]>[>>>>>>>]>>>>>>-]>>>>>>>>>,------------------------------------------------<<<<<<<,------------------------------------------------>,[-]<<<+++[[>[>>>>>>>]>>>>>>+<<<<<<<<<<<<<[<<<<<<<]>>>>>>-]>[>>>>>>>]>>>>>>-]>>>>>>>>>,------------------------------------------------<<<<<<<,------------------------------------------------>,[-]<<<+++[[>[>>>>>>>]>>>>>>+<<<<<<<<<<<<<[<<<<<<<]>>>>>>-]>[>>>>>>>]>>>>>>-]>>>>>>>>>,------------------------------------------------<<<<<<<,------------------------------------------------>,[-]<<<+++[[>[>>>>>>>]>>>>>>+<<<<<<<<<<<<<[<<<<<<<]>>>>>>-]>[>>>>>>>]>>>>>>-]>>>>>>>>>,------------------------------------------------<<<<<<<,------------------------------------------------>,[-]<<<+++[[>[>>>>>>>]>>>>>>+<<<<<<<<<<<<<[<<<<<<<]>>>>>>-]>[>>>>>>>]>>>>>>-]>>>>>>>>>,------------------------------------------------<<<<<<<,------------------------------------------------>,[-]<<<+++[[>[>>>>>>>]>>>>>>+<<<<<<<<<<<<<[<<<<<<<]>>>>>>-]>[>>>>>>>]>>>>>>-]>>>>>>>>>,------------------------------------------------<<<<<<<,------------------------------------------------>,[-]<<<+++[[>[>>>>>>>]>>>>>>+<<<<<<<<<<<<<[<<<<<<<]>>>>>>-]>[>>>>>>>]>>>>>>-]>>>>>>>>>,------------------------------------------------<<<<<<<,------------------------------------------------>,[-]<<<+++[[>[>>>>>>>]>>>>>>+<<<<<<<<<<<<<[<<<<<<<]>>>>>>-]>[>>>>>>>]>>>>>>-]>>>>>>>>>,------------------------------------------------<<<<<<<,------------------------------------------------>,[-]<<<+++++++++++++++++++++++++++++++++[[<<<<<<<<<<<<<[<<<<<<<]>>>>>>+>[>>>>>>>]>>>>>>-]<<<<<<<<<<<<<[<<<<<<<]>>>>>>-]>[>[>+<-]+++++++++>[<->-]>>>>>]<<<<<<<[<<<<<<<]>>>>>>>>+<[>>+[-<[>+>+<<-]>[<+>-]++++++++++[>[>+>+<<-]+>[<->[-]]<[>>>+<<<-]>>[<<+>>-]<<-<-]>[-]>>+>[<->[-]]<[-<<<<---------->>>>>>>+<<<<<<+>>>]<<<]>>>>>]<<<<<<<[<<<<<<<]>>>>>>>[>[>+>+<<-]>[<+>-]>>>>>]<<<<<<<[<<<<<<<]>>>>>+>++++++++++[[>[>>>>>>>]>>>>>>+<<<<<<<<<<<<<[<<<<<<<]>>>>>>-]>[>>>>>>>]>>>>>>-]<+<<<<<<<-[+<<<<<<<-]+>>[>[>>>>-[+>>>>>>>-]+>>>+<<<<<<<<<<-[+<<<<<<<-]+>>>-]>>>>-[+>>>>>>>-]>>>>>>>+<<<<<<<-[+<<<<<<<-]>>>>>>>+>>]<<--[+>>>>>>>-]<<<<<[<<<<<<<]>>>>>>++++++++++[[<<<<<<<<<<<<<[<<<<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<<-]>[<+>-]++++++++++[>[>+>+<<-]+>[<->[-]]<[>>>+<<<-]>>[<<+>>-]<<-<-]>[-]>>+>[<->[-]]<[-<<<<---------->>>>>>>+<<<<<<+>>>]<<<]>>>>>]<<<<<<<[<<<<<<<]>>>>>>>@[>>>>>>>]<<<<<<<[>>+[-<[>+>+<<-]>[<+>-]++++++[>[>+>+<<-]+>[<->[-]]<[>>>+<<<-]>>[<<+>>-]<<-<-]>[-]>>+>[<->[-]]<[-<<<<------<<+>>>+>>>]<<<]<[<<<<<<<++++++++++>>>>>>>-]<<[>>+<<-]<<<<<<]>[-]>>>>>>@[>>>>>>>]<<<<<<<[>>++++++++[<++++++>-]<.<<<<<<<<]
p[5] = 1; p[6] = 40; p[8] = 0; p[14] = 0; p[7] = 0; while (p[6]) { p[7] += 6; while (p[7]) { ++p[8]; p[14] += p[7]-1; p[7] = 0; p += 7; } while (p[1] != 0) p -= 7; while (p[6]) { while (p[8] != 0) p += 7; ++p[13]; while (p[1] != 0) p -= 7; --p[6]; } while (p[8] != 0) p += 7; --p[13]; p += 7; } --p[5]; while (p[5]) { ++p[5]; --p[-2]; p -= 7; } p[16] = GETC(); p[16] -= 48; p[9] = GETC(); p[9] -= 48; p[10] = GETC(); p[10] = 0; p[7] += 3; while (p[7]) { while (p[7]) { while (p[8] != 0) p += 7; ++p[14]; while (p[1] != 0) p -= 7; --p[7]; } while (p[8] != 0) p += 7; --p[14]; p += 7; } p[16] = GETC(); p[16] -= 48; p[9] = GETC(); p[9] -= 48; p[10] = GETC(); p[10] = 0; p[7] = 3; while (p[7]) { while (p[7]) { while (p[8] != 0) p += 7; ++p[14]; while (p[1] != 0) p -= 7; --p[7]; } while (p[8] != 0) p += 7; --p[14]; p += 7; } p[16] = GETC(); p[16] -= 48; p[9] = GETC(); p[9] -= 48; p[10] = GETC(); p[10] = 0; p[7] = 3; while (p[7]) { while (p[7]) { while (p[8] != 0) p += 7; ++p[14]; while (p[1] != 0) p -= 7; --p[7]; } while (p[8] != 0) p += 7; --p[14]; p += 7; } p[16] = GETC(); p[16] -= 48; p[9] = GETC(); p[9] -= 48; p[10] = GETC(); p[10] = 0; p[7] = 3; while (p[7]) { while (p[7]) { while (p[8] != 0) p += 7; ++p[14]; while (p[1] != 0) p -= 7; --p[7]; } while (p[8] != 0) p += 7; --p[14]; p += 7; } p[16] = GETC(); p[16] -= 48; p[9] = GETC(); p[9] -= 48; p[10] = GETC(); p[10] = 0; p[7] = 3; while (p[7]) { while (p[7]) { while (p[8] != 0) p += 7; ++p[14]; while (p[1] != 0) p -= 7; --p[7]; } while (p[8] != 0) p += 7; --p[14]; p += 7; } p[16] = GETC(); p[16] -= 48; p[9] = GETC(); p[9] -= 48; p[10] = GETC(); p[10] = 0; p[7] = 3; while (p[7]) { while (p[7]) { while (p[8] != 0) p += 7; ++p[14]; while (p[1] != 0) p -= 7; --p[7]; } while (p[8] != 0) p += 7; --p[14]; p += 7; } p[16] = GETC(); p[16] -= 48; p[9] = GETC(); p[9] -= 48; p[10] = GETC(); p[10] = 0; p[7] = 3; while (p[7]) { while (p[7]) { while (p[8] != 0) p += 7; ++p[14]; while (p[1] != 0) p -= 7; --p[7]; } while (p[8] != 0) p += 7; --p[14]; p += 7; } p[16] = GETC(); p[16] -= 48; p[9] = GETC(); p[9] -= 48; p[10] = GETC(); p[10] = 0; p[7] = 3; while (p[7]) { while (p[7]) { while (p[8] != 0) p += 7; ++p[14]; while (p[1] != 0) p -= 7; --p[7]; } while (p[8] != 0) p += 7; --p[14]; p += 7; } p[16] = GETC(); p[16] -= 48; p[9] = GETC(); p[9] -= 48; p[10] = GETC(); p[10] = 0; p[7] = 3; while (p[7]) { while (p[7]) { while (p[8] != 0) p += 7; ++p[14]; while (p[1] != 0) p -= 7; --p[7]; } while (p[8] != 0) p += 7; --p[14]; p += 7; } p[16] = GETC(); p[16] -= 48; p[9] = GETC(); p[9] -= 48; p[10] = GETC(); p[10] = 0; p[7] = 3; while (p[7]) { while (p[7]) { while (p[8] != 0) p += 7; ++p[14]; while (p[1] != 0) p -= 7; --p[7]; } while (p[8] != 0) p += 7; --p[14]; p += 7; } p[16] = GETC(); p[16] -= 48; p[9] = GETC(); p[9] -= 48; p[10] = GETC(); p[10] = 0; p[7] = 3; while (p[7]) { while (p[7]) { while (p[8] != 0) p += 7; ++p[14]; while (p[1] != 0) p -= 7; --p[7]; } while (p[8] != 0) p += 7; --p[14]; p += 7; } p[16] = GETC(); p[16] -= 48; p[9] = GETC(); p[9] -= 48; p[10] = GETC(); p[10] = 0; p[7] = 33; while (p[7]) { while (p[7]) { while (p[-6] != 0) p -= 7; ++p[0]; while (p[1] != 0) p += 7; --p[7]; } while (p[-6] != 0) p -= 7; --p[0]; p -= 7; } while (p[8]) { p[10] += p[9]; p[9] = -p[10]+9; p[10] = 0; p += 7; } while (p[1] != 0) p -= 7; ++p[9]; while (p[8]) { ++p[10]; while (p[10]) { p[10] += p[9]-1; p[11] += p[9]; p[9] = p[10]; int loopcnt0; for (loopcnt0 = 10; loopcnt0 > 0; --loopcnt0) { p[12] += p[11]; p[13] += p[11]; p[11] = 1; if (p[12]) { --p[11]; p[12] = 0; } p[12] = 0; p[14] += p[11]; p[11] = p[13]-1; p[13] = 0; } p[10] = 0; p[11] = 0; ++p[13]; if (p[14]) { --p[13]; p[14] = 0; } p[14] = 0; p[16] += p[13]; p[9] -= 10*p[13]; p[10] += p[13]; p[13] = 0; } p += 7; } while (p[1] != 0) p -= 7; while (p[8]) { p[10] += p[9]; p[11] += p[9]; p[9] = p[10]; p[10] = 0; p += 7; } while (p[1] != 0) p -= 7; ++p[6]; p[7] += 10; while (p[7]) { while (p[7]) { while (p[8] != 0) p += 7; ++p[14]; while (p[1] != 0) p -= 7; --p[7]; } while (p[8] != 0) p += 7; --p[14]; p += 7; } --p[-1]; ++p[6]; while (p[-1]) { ++p[-1]; --p[-8]; p -= 7; } p[-1] = 1; while (p[1]) { while (p[2]) { --p[6]; while (p[6]) { ++p[6]; --p[13]; p += 7; } p[6] = 1; --p[-1]; ++p[9]; while (p[-1]) { ++p[-1]; --p[-8]; p -= 7; } --p[2]; p[-1] = 1; } --p[6]; while (p[6]) { ++p[6]; --p[13]; p += 7; } ++p[13]; p[6] = -1; while (p[6]) { ++p[6]; --p[-1]; p -= 7; } ++p[13]; p += 14; } p[-1] -= 2; while (p[-1]) { ++p[-1]; --p[6]; p += 7; } while (p[-6] != 0) p -= 7; p[0] += 10; while (p[0]) { while (p[0]) { while (p[-13] != 0) p -= 7; ++p[-7]; while (p[-6] != 0) p += 7; --p[0]; } while (p[-13] != 0) p -= 7; --p[-7]; p -= 7; } while (p[1]) { p[2] += p[4]; p[4] = 0; p += 7; } while (p[-6] != 0) p -= 7; p[0] += 9; while (p[0]) { while (p[0]) { while (p[1] != 0) p += 7; ++p[7]; while (p[-6] != 0) p -= 7; --p[0]; } while (p[1] != 0) p += 7; --p[7]; p += 7; } ++p[3]; while (p[1] != 0) p += 7; ++p[10]; --p[3]; while (p[3]) { ++p[3]; --p[-4]; p -= 7; } p[3] = 1; while (p[1]) { while (p[2]) { --p[10]; while (p[10]) { ++p[10]; --p[17]; p += 7; } p[10] = 1; --p[3]; ++p[9]; while (p[3]) { ++p[3]; --p[-4]; p -= 7; } --p[2]; p[3] = 1; } --p[10]; while (p[10]) { ++p[10]; --p[17]; p += 7; } ++p[17]; p[10] = -1; while (p[10]) { ++p[10]; --p[3]; p -= 7; } ++p[17]; p += 14; } p[3] -= 2; while (p[3]) { ++p[3]; --p[10]; p += 7; } while (p[-6] != 0) p -= 7; while (p[1]) { ++p[3]; while (p[3]) { p[3] += p[2]-1; p[4] += p[2]; p[2] = p[3]; int loopcnt1; for (loopcnt1 = 10; loopcnt1 > 0; --loopcnt1) { p[5] += p[4]; p[6] += p[4]; p[4] = 1; if (p[5]) { --p[4]; p[5] = 0; } p[5] = 0; p[7] += p[4]; p[4] = p[6]-1; p[6] = 0; } p[3] = 0; p[4] = 0; ++p[6]; if (p[7]) { --p[6]; p[7] = 0; } p[7] = 0; p[9] += p[6]; p[2] -= 10*p[6]; p[3] += p[6]; p[6] = 0; } p += 7; } while (p[-6] != 0) p -= 7; p[0] += 10; while (p[0]) { while (p[0]) { while (p[-13] != 0) p -= 7; ++p[-7]; while (p[-6] != 0) p += 7; --p[0]; } while (p[-13] != 0) p -= 7; --p[-7]; p -= 7; } while (p[1]) { p[3] += p[2]; p[4] += p[2]; p[2] = p[3]; p[3] = 0; p += 7; } while (p[-6] != 0) p -= 7; p[0] += 19; ++p[-1]; while (p[0]) { while (p[0]) { while (p[1] != 0) p += 7; ++p[7]; while (p[-6] != 0) p -= 7; --p[0]; } while (p[1] != 0) p += 7; --p[7]; p += 7; } --p[-8]; ++p[-1]; while (p[-8]) { ++p[-8]; --p[-15]; p -= 7; } p[-8] = 1; while (p[-6]) { while (p[-5]) { --p[-1]; while (p[-1]) { ++p[-1]; --p[6]; p += 7; } p[-1] = 1; --p[-8]; ++p[2]; while (p[-8]) { ++p[-8]; --p[-15]; p -= 7; } --p[-5]; p[-8] = 1; } --p[-1]; while (p[-1]) { ++p[-1]; --p[6]; p += 7; } ++p[6]; p[-1] = -1; while (p[-1]) { ++p[-1]; --p[-8]; p -= 7; } ++p[6]; p += 14; } p[-8] -= 2; while (p[-8]) { ++p[-8]; --p[-1]; p += 7; } while (p[-13] != 0) p -= 7; p[-7] += 19; while (p[-7]) { while (p[-7]) { while (p[-20] != 0) p -= 7; ++p[-14]; while (p[-13] != 0) p += 7; --p[-7]; } while (p[-20] != 0) p -= 7; --p[-14]; p -= 7; } while (p[-6]) { p[-5] += p[-3]; p[-3] = 0; p += 7; } while (p[-13] != 0) p -= 7; p[-7] += 18; while (p[-7]) { while (p[-7]) { while (p[-6] != 0) p += 7; ++p[0]; while (p[-13] != 0) p -= 7; --p[-7]; } while (p[-6] != 0) p += 7; --p[0]; p += 7; } ++p[-4]; while (p[-6] != 0) p += 7; ++p[3]; --p[-4]; while (p[-4]) { ++p[-4]; --p[-11]; p -= 7; } p[-4] = 1; while (p[-6]) { while (p[-5]) { --p[3]; while (p[3]) { ++p[3]; --p[10]; p += 7; } p[3] = 1; --p[-4]; ++p[2]; while (p[-4]) { ++p[-4]; --p[-11]; p -= 7; } --p[-5]; p[-4] = 1; } --p[3]; while (p[3]) { ++p[3]; --p[10]; p += 7; } ++p[10]; p[3] = -1; while (p[3]) { ++p[3]; --p[-4]; p -= 7; } ++p[10]; p += 14; } p[-4] -= 2; while (p[-4]) { ++p[-4]; --p[3]; p += 7; } while (p[-13] != 0) p -= 7; while (p[-6]) { ++p[-4]; while (p[-4]) { p[-4] += p[-5]-1; p[-3] += p[-5]; p[-5] = p[-4]; int loopcnt2; for (loopcnt2 = 10; loopcnt2 > 0; --loopcnt2) { p[-2] += p[-3]; p[-1] += p[-3]; p[-3] = 1; if (p[-2]) { --p[-3]; p[-2] = 0; } p[-2] = 0; p[0] += p[-3]; p[-3] = p[-1]-1; p[-1] = 0; } p[-4] = 0; p[-3] = 0; ++p[-1]; if (p[0]) { --p[-1]; p[0] = 0; } p[0] = 0; p[2] += p[-1]; p[-5] -= 10*p[-1]; p[-4] += p[-1]; p[-1] = 0; } p += 7; } while (p[-13] != 0) p -= 7; p[-7] += 19; while (p[-7]) { while (p[-7]) { while (p[-20] != 0) p -= 7; ++p[-14]; while (p[-13] != 0) p += 7; --p[-7]; } while (p[-20] != 0) p -= 7; --p[-14]; p -= 7; } ++p[-8]; p[-7] = 28; while (p[-7]) { while (p[-7]) { while (p[-6] != 0) p += 7; ++p[0]; while (p[-13] != 0) p -= 7; --p[-7]; } while (p[-6] != 0) p += 7; --p[0]; p += 7; } ++p[-8]; --p[-15]; while (p[-15]) { ++p[-15]; --p[-22]; p -= 7; } p[-15] = 1; while (p[-13]) { while (p[-12]) { --p[-8]; while (p[-8]) { ++p[-8]; --p[-1]; p += 7; } p[-8] = 1; --p[-15]; ++p[-5]; while (p[-15]) { ++p[-15]; --p[-22]; p -= 7; } --p[-12]; p[-15] = 1; } --p[-8]; while (p[-8]) { ++p[-8]; --p[-1]; p += 7; } ++p[-1]; p[-8] = -1; while (p[-8]) { ++p[-8]; --p[-15]; p -= 7; } ++p[-1]; p += 14; } p[-15] -= 2; while (p[-15]) { ++p[-15]; --p[-8]; p += 7; } while (p[-20] != 0) p -= 7; ++p[-14]; while (p[-14]) { while (p[-14]) { while (p[-27] != 0) p -= 7; ++p[-21]; while (p[-20] != 0) p += 7; --p[-14]; } while (p[-27] != 0) p -= 7; --p[-21]; p -= 7; } ++p[-11]; while (p[-13] != 0) p += 7; ++p[-4]; --p[-11]; while (p[-11]) { ++p[-11]; --p[-18]; p -= 7; } p[-11] = 1; while (p[-13]) { while (p[-12]) { --p[-4]; while (p[-4]) { ++p[-4]; --p[3]; p += 7; } p[-4] = 1; --p[-11]; ++p[-5]; while (p[-11]) { ++p[-11]; --p[-18]; p -= 7; } --p[-12]; p[-11] = 1; } --p[-4]; while (p[-4]) { ++p[-4]; --p[3]; p += 7; } ++p[3]; p[-4] = -1; while (p[-4]) { ++p[-4]; --p[-11]; p -= 7; } ++p[3]; p += 14; } p[-11] -= 2; while (p[-11]) { ++p[-11]; --p[-4]; p += 7; } while (p[-20] != 0) p -= 7; while (p[-13]) { ++p[-11]; while (p[-11]) { p[-11] += p[-12]-1; p[-10] += p[-12]; p[-12] = p[-11]; int loopcnt3; for (loopcnt3 = 10; loopcnt3 > 0; --loopcnt3) { p[-9] += p[-10]; p[-8] += p[-10]; p[-10] = 1; if (p[-9]) { --p[-10]; p[-9] = 0; } p[-9] = 0; p[-7] += p[-10]; p[-10] = p[-8]-1; p[-8] = 0; } p[-11] = 0; p[-10] = 0; ++p[-8]; if (p[-7]) { --p[-8]; p[-7] = 0; } p[-7] = 0; p[-5] += p[-8]; p[-12] -= 10*p[-8]; p[-11] += p[-8]; p[-8] = 0; } p += 7; } while (p[-20] != 0) p -= 7; p[-14] += 25; while (p[-14]) { while (p[-14]) { while (p[-27] != 0) p -= 7; ++p[-21]; while (p[-20] != 0) p += 7; --p[-14]; } while (p[-27] != 0) p -= 7; --p[-21]; p -= 7; } while (p[-13]) { p[-11] += p[-12]; p[-12] = -p[-11]+9; p[-11] = 0; p += 7; } while (p[-20] != 0) p -= 7; ++p[-12]; while (p[-13]) { ++p[-11]; while (p[-11]) { p[-11] += p[-12]-1; p[-10] += p[-12]; p[-12] = p[-11]; int loopcnt4; for (loopcnt4 = 10; loopcnt4 > 0; --loopcnt4) { p[-9] += p[-10]; p[-8] += p[-10]; p[-10] = 1; if (p[-9]) { --p[-10]; p[-9] = 0; } p[-9] = 0; p[-7] += p[-10]; p[-10] = p[-8]-1; p[-8] = 0; } p[-11] = 0; p[-10] = 0; ++p[-8]; if (p[-7]) { --p[-8]; p[-7] = 0; } p[-7] = 0; p[-5] += p[-8]; p[-12] -= 10*p[-8]; p[-11] += p[-8]; p[-8] = 0; } p += 7; } while (p[-20] != 0) p -= 7; while (p[-13]) { p[-11] += p[-12]; p[-10] += p[-12]; p[-12] = p[-11]; p[-11] = 0; p += 7; } while (p[-20] != 0) p -= 7; ++p[-15]; p[-14] += 10; while (p[-14]) { while (p[-14]) { while (p[-13] != 0) p += 7; ++p[-7]; while (p[-20] != 0) p -= 7; --p[-14]; } while (p[-13] != 0) p += 7; --p[-7]; p += 7; } ++p[-15]; --p[-22]; while (p[-22]) { ++p[-22]; --p[-29]; p -= 7; } p[-22] = 1; while (p[-20]) { while (p[-19]) { --p[-15]; while (p[-15]) { ++p[-15]; --p[-8]; p += 7; } p[-15] = 1; --p[-22]; ++p[-12]; while (p[-22]) { ++p[-22]; --p[-29]; p -= 7; } --p[-19]; p[-22] = 1; } --p[-15]; while (p[-15]) { ++p[-15]; --p[-8]; p += 7; } ++p[-8]; p[-15] = -1; while (p[-15]) { ++p[-15]; --p[-22]; p -= 7; } ++p[-8]; p += 14; } p[-22] -= 2; while (p[-22]) { ++p[-22]; --p[-15]; p += 7; } while (p[-27] != 0) p -= 7; p[-21] += 10; while (p[-21]) { while (p[-21]) { while (p[-34] != 0) p -= 7; ++p[-28]; while (p[-27] != 0) p += 7; --p[-21]; } while (p[-34] != 0) p -= 7; --p[-28]; p -= 7; } while (p[-20]) { p[-19] += p[-17]; p[-17] = 0; p += 7; } while (p[-27] != 0) p -= 7; p[-21] += 9; while (p[-21]) { while (p[-21]) { while (p[-20] != 0) p += 7; ++p[-14]; while (p[-27] != 0) p -= 7; --p[-21]; } while (p[-20] != 0) p += 7; --p[-14]; p += 7; } ++p[-18]; while (p[-20] != 0) p += 7; ++p[-11]; --p[-18]; while (p[-18]) { ++p[-18]; --p[-25]; p -= 7; } p[-18] = 1; while (p[-20]) { while (p[-19]) { --p[-11]; while (p[-11]) { ++p[-11]; --p[-4]; p += 7; } p[-11] = 1; --p[-18]; ++p[-12]; while (p[-18]) { ++p[-18]; --p[-25]; p -= 7; } --p[-19]; p[-18] = 1; } --p[-11]; while (p[-11]) { ++p[-11]; --p[-4]; p += 7; } ++p[-4]; p[-11] = -1; while (p[-11]) { ++p[-11]; --p[-18]; p -= 7; } ++p[-4]; p += 14; } p[-18] -= 2; while (p[-18]) { ++p[-18]; --p[-11]; p += 7; } while (p[-27] != 0) p -= 7; while (p[-20]) { ++p[-18]; while (p[-18]) { p[-18] += p[-19]-1; p[-17] += p[-19]; p[-19] = p[-18]; int loopcnt5; for (loopcnt5 = 10; loopcnt5 > 0; --loopcnt5) { p[-16] += p[-17]; p[-15] += p[-17]; p[-17] = 1; if (p[-16]) { --p[-17]; p[-16] = 0; } p[-16] = 0; p[-14] += p[-17]; p[-17] = p[-15]-1; p[-15] = 0; } p[-18] = 0; p[-17] = 0; ++p[-15]; if (p[-14]) { --p[-15]; p[-14] = 0; } p[-14] = 0; p[-12] += p[-15]; p[-19] -= 10*p[-15]; p[-18] += p[-15]; p[-15] = 0; } p += 7; } while (p[-27] != 0) p -= 7; p[-21] += 10; while (p[-21]) { while (p[-21]) { while (p[-34] != 0) p -= 7; ++p[-28]; while (p[-27] != 0) p += 7; --p[-21]; } while (p[-34] != 0) p -= 7; --p[-28]; p -= 7; } while (p[-20]) { p[-18] += p[-19]; p[-17] += p[-19]; p[-19] = p[-18]; p[-18] = 0; p += 7; } while (p[-27] != 0) p -= 7; ++p[-22]; p[-21] += 19; while (p[-21]) { while (p[-21]) { while (p[-20] != 0) p += 7; ++p[-14]; while (p[-27] != 0) p -= 7; --p[-21]; } while (p[-20] != 0) p += 7; --p[-14]; p += 7; } ++p[-22]; --p[-29]; while (p[-29]) { ++p[-29]; --p[-36]; p -= 7; } p[-29] = 1; while (p[-27]) { while (p[-26]) { --p[-22]; while (p[-22]) { ++p[-22]; --p[-15]; p += 7; } p[-22] = 1; --p[-29]; ++p[-19]; while (p[-29]) { ++p[-29]; --p[-36]; p -= 7; } --p[-26]; p[-29] = 1; } --p[-22]; while (p[-22]) { ++p[-22]; --p[-15]; p += 7; } ++p[-15]; p[-22] = -1; while (p[-22]) { ++p[-22]; --p[-29]; p -= 7; } ++p[-15]; p += 14; } p[-29] -= 2; while (p[-29]) { ++p[-29]; --p[-22]; p += 7; } while (p[-34] != 0) p -= 7; p[-28] += 19; while (p[-28]) { while (p[-28]) { while (p[-41] != 0) p -= 7; ++p[-35]; while (p[-34] != 0) p += 7; --p[-28]; } while (p[-41] != 0) p -= 7; --p[-35]; p -= 7; } while (p[-27]) { p[-26] += p[-24]; p[-24] = 0; p += 7; } while (p[-34] != 0) p -= 7; p[-28] += 18; while (p[-28]) { while (p[-28]) { while (p[-27] != 0) p += 7; ++p[-21]; while (p[-34] != 0) p -= 7; --p[-28]; } while (p[-27] != 0) p += 7; --p[-21]; p += 7; } ++p[-25]; while (p[-27] != 0) p += 7; ++p[-18]; --p[-25]; while (p[-25]) { ++p[-25]; --p[-32]; p -= 7; } p[-25] = 1; while (p[-27]) { while (p[-26]) { --p[-18]; while (p[-18]) { ++p[-18]; --p[-11]; p += 7; } p[-18] = 1; --p[-25]; ++p[-19]; while (p[-25]) { ++p[-25]; --p[-32]; p -= 7; } --p[-26]; p[-25] = 1; } --p[-18]; while (p[-18]) { ++p[-18]; --p[-11]; p += 7; } ++p[-11]; p[-18] = -1; while (p[-18]) { ++p[-18]; --p[-25]; p -= 7; } ++p[-11]; p += 14; } p[-25] -= 2; while (p[-25]) { ++p[-25]; --p[-18]; p += 7; } while (p[-34] != 0) p -= 7; while (p[-27]) { ++p[-25]; while (p[-25]) { p[-25] += p[-26]-1; p[-24] += p[-26]; p[-26] = p[-25]; int loopcnt6; for (loopcnt6 = 10; loopcnt6 > 0; --loopcnt6) { p[-23] += p[-24]; p[-22] += p[-24]; p[-24] = 1; if (p[-23]) { --p[-24]; p[-23] = 0; } p[-23] = 0; p[-21] += p[-24]; p[-24] = p[-22]-1; p[-22] = 0; } p[-25] = 0; p[-24] = 0; ++p[-22]; if (p[-21]) { --p[-22]; p[-21] = 0; } p[-21] = 0; p[-19] += p[-22]; p[-26] -= 10*p[-22]; p[-25] += p[-22]; p[-22] = 0; } p += 7; } while (p[-34] != 0) p -= 7; p[-28] += 19; while (p[-28]) { while (p[-28]) { while (p[-41] != 0) p -= 7; ++p[-35]; while (p[-34] != 0) p += 7; --p[-28]; } while (p[-41] != 0) p -= 7; --p[-35]; p -= 7; } ++p[-29]; p[-28] = 28; while (p[-28]) { while (p[-28]) { while (p[-27] != 0) p += 7; ++p[-21]; while (p[-34] != 0) p -= 7; --p[-28]; } while (p[-27] != 0) p += 7; --p[-21]; p += 7; } ++p[-29]; --p[-36]; while (p[-36]) { ++p[-36]; --p[-43]; p -= 7; } p[-36] = 1; while (p[-34]) { while (p[-33]) { --p[-29]; while (p[-29]) { ++p[-29]; --p[-22]; p += 7; } p[-29] = 1; --p[-36]; ++p[-26]; while (p[-36]) { ++p[-36]; --p[-43]; p -= 7; } --p[-33]; p[-36] = 1; } --p[-29]; while (p[-29]) { ++p[-29]; --p[-22]; p += 7; } ++p[-22]; p[-29] = -1; while (p[-29]) { ++p[-29]; --p[-36]; p -= 7; } ++p[-22]; p += 14; } p[-36] -= 2; while (p[-36]) { ++p[-36]; --p[-29]; p += 7; } while (p[-41] != 0) p -= 7; ++p[-35]; while (p[-35]) { while (p[-35]) { while (p[-48] != 0) p -= 7; ++p[-42]; while (p[-41] != 0) p += 7; --p[-35]; } while (p[-48] != 0) p -= 7; --p[-42]; p -= 7; } ++p[-32]; while (p[-34] != 0) p += 7; --p[-32]; ++p[-25]; while (p[-32]) { ++p[-32]; --p[-39]; p -= 7; } p[-32] = 1; while (p[-34]) { while (p[-33]) { --p[-25]; while (p[-25]) { ++p[-25]; --p[-18]; p += 7; } p[-25] = 1; --p[-32]; ++p[-26]; while (p[-32]) { ++p[-32]; --p[-39]; p -= 7; } --p[-33]; p[-32] = 1; } --p[-25]; while (p[-25]) { ++p[-25]; --p[-18]; p += 7; } ++p[-18]; p[-25] = -1; while (p[-25]) { ++p[-25]; --p[-32]; p -= 7; } ++p[-18]; p += 14; } p[-32] -= 2; while (p[-32]) { ++p[-32]; --p[-25]; p += 7; } while (p[-41] != 0) p -= 7; while (p[-34]) { ++p[-32]; while (p[-32]) { p[-32] += p[-33]-1; p[-31] += p[-33]; p[-33] = p[-32]; int loopcnt7; for (loopcnt7 = 10; loopcnt7 > 0; --loopcnt7) { p[-30] += p[-31]; p[-29] += p[-31]; p[-31] = 1; if (p[-30]) { --p[-31]; p[-30] = 0; } p[-30] = 0; p[-28] += p[-31]; p[-31] = p[-29]-1; p[-29] = 0; } p[-32] = 0; p[-31] = 0; ++p[-29]; if (p[-28]) { --p[-29]; p[-28] = 0; } p[-28] = 0; p[-26] += p[-29]; p[-33] -= 10*p[-29]; p[-32] += p[-29]; p[-29] = 0; } p += 7; } while (p[-41] != 0) p -= 7; p[-35] += 25; while (p[-35]) { while (p[-35]) { while (p[-48] != 0) p -= 7; ++p[-42]; while (p[-41] != 0) p += 7; --p[-35]; } while (p[-48] != 0) p -= 7; --p[-42]; p -= 7; } while (p[-34]) { p[-32] += p[-33]; p[-33] = -p[-32]+9; p[-32] = 0; p += 7; } while (p[-41] != 0) p -= 7; ++p[-33]; while (p[-34]) { ++p[-32]; while (p[-32]) { p[-32] += p[-33]-1; p[-31] += p[-33]; p[-33] = p[-32]; int loopcnt8; for (loopcnt8 = 10; loopcnt8 > 0; --loopcnt8) { p[-30] += p[-31]; p[-29] += p[-31]; p[-31] = 1; if (p[-30]) { --p[-31]; p[-30] = 0; } p[-30] = 0; p[-28] += p[-31]; p[-31] = p[-29]-1; p[-29] = 0; } p[-32] = 0; p[-31] = 0; ++p[-29]; if (p[-28]) { --p[-29]; p[-28] = 0; } p[-28] = 0; p[-26] += p[-29]; p[-33] -= 10*p[-29]; p[-32] += p[-29]; p[-29] = 0; } p += 7; } while (p[-41] != 0) p -= 7; while (p[-34]) { p[-32] += p[-33]; p[-31] += p[-33]; p[-33] = p[-32]; p[-32] = 0; p += 7; } while (p[-41] != 0) p -= 7; ++p[-36]; p[-35] += 10; while (p[-35]) { while (p[-35]) { while (p[-34] != 0) p += 7; ++p[-28]; while (p[-41] != 0) p -= 7; --p[-35]; } while (p[-34] != 0) p += 7; --p[-28]; p += 7; } ++p[-36]; --p[-43]; while (p[-43]) { ++p[-43]; --p[-50]; p -= 7; } p[-43] = 1; while (p[-41]) { while (p[-40]) { --p[-36]; while (p[-36]) { ++p[-36]; --p[-29]; p += 7; } p[-36] = 1; --p[-43]; ++p[-33]; while (p[-43]) { ++p[-43]; --p[-50]; p -= 7; } --p[-40]; p[-43] = 1; } --p[-36]; while (p[-36]) { ++p[-36]; --p[-29]; p += 7; } ++p[-29]; p[-36] = -1; while (p[-36]) { ++p[-36]; --p[-43]; p -= 7; } ++p[-29]; p += 14; } p[-43] -= 2; while (p[-43]) { ++p[-43]; --p[-36]; p += 7; } while (p[-48] != 0) p -= 7; p[-42] += 10; while (p[-42]) { while (p[-42]) { while (p[-55] != 0) p -= 7; ++p[-49]; while (p[-48] != 0) p += 7; --p[-42]; } while (p[-55] != 0) p -= 7; --p[-49]; p -= 7; } while (p[-41]) { p[-40] += p[-38]; p[-38] = 0; p += 7; } while (p[-48] != 0) p -= 7; p[-42] += 9; while (p[-42]) { while (p[-42]) { while (p[-41] != 0) p += 7; ++p[-35]; while (p[-48] != 0) p -= 7; --p[-42]; } while (p[-41] != 0) p += 7; --p[-35]; p += 7; } ++p[-39]; while (p[-41] != 0) p += 7; ++p[-32]; --p[-39]; while (p[-39]) { ++p[-39]; --p[-46]; p -= 7; } p[-39] = 1; while (p[-41]) { while (p[-40]) { --p[-32]; while (p[-32]) { ++p[-32]; --p[-25]; p += 7; } p[-32] = 1; --p[-39]; ++p[-33]; while (p[-39]) { ++p[-39]; --p[-46]; p -= 7; } --p[-40]; p[-39] = 1; } --p[-32]; while (p[-32]) { ++p[-32]; --p[-25]; p += 7; } ++p[-25]; p[-32] = -1; while (p[-32]) { ++p[-32]; --p[-39]; p -= 7; } ++p[-25]; p += 14; } p[-39] -= 2; while (p[-39]) { ++p[-39]; --p[-32]; p += 7; } while (p[-48] != 0) p -= 7; while (p[-41]) { ++p[-39]; while (p[-39]) { p[-39] += p[-40]-1; p[-38] += p[-40]; p[-40] = p[-39]; int loopcnt9; for (loopcnt9 = 10; loopcnt9 > 0; --loopcnt9) { p[-37] += p[-38]; p[-36] += p[-38]; p[-38] = 1; if (p[-37]) { --p[-38]; p[-37] = 0; } p[-37] = 0; p[-35] += p[-38]; p[-38] = p[-36]-1; p[-36] = 0; } p[-39] = 0; p[-38] = 0; ++p[-36]; if (p[-35]) { --p[-36]; p[-35] = 0; } p[-35] = 0; p[-33] += p[-36]; p[-40] -= 10*p[-36]; p[-39] += p[-36]; p[-36] = 0; } p += 7; } while (p[-48] != 0) p -= 7; p[-42] += 10; while (p[-42]) { while (p[-42]) { while (p[-55] != 0) p -= 7; ++p[-49]; while (p[-48] != 0) p += 7; --p[-42]; } while (p[-55] != 0) p -= 7; --p[-49]; p -= 7; } while (p[-41]) { p[-39] += p[-40]; p[-38] += p[-40]; p[-40] = p[-39]; p[-39] = 0; p += 7; } while (p[-48] != 0) p -= 7; ++p[-43]; p[-42] += 19; while (p[-42]) { while (p[-42]) { while (p[-41] != 0) p += 7; ++p[-35]; while (p[-48] != 0) p -= 7; --p[-42]; } while (p[-41] != 0) p += 7; --p[-35]; p += 7; } ++p[-43]; --p[-50]; while (p[-50]) { ++p[-50]; --p[-57]; p -= 7; } p[-50] = 1; while (p[-48]) { while (p[-47]) { --p[-43]; while (p[-43]) { ++p[-43]; --p[-36]; p += 7; } p[-43] = 1; --p[-50]; ++p[-40]; while (p[-50]) { ++p[-50]; --p[-57]; p -= 7; } --p[-47]; p[-50] = 1; } --p[-43]; while (p[-43]) { ++p[-43]; --p[-36]; p += 7; } ++p[-36]; p[-43] = -1; while (p[-43]) { ++p[-43]; --p[-50]; p -= 7; } ++p[-36]; p += 14; } p[-50] -= 2; while (p[-50]) { ++p[-50]; --p[-43]; p += 7; } while (p[-55] != 0) p -= 7; p[-49] += 19; while (p[-49]) { while (p[-49]) { while (p[-62] != 0) p -= 7; ++p[-56]; while (p[-55] != 0) p += 7; --p[-49]; } while (p[-62] != 0) p -= 7; --p[-56]; p -= 7; } while (p[-48]) { p[-47] += p[-45]; p[-45] = 0; p += 7; } while (p[-55] != 0) p -= 7; p[-49] += 18; while (p[-49]) { while (p[-49]) { while (p[-48] != 0) p += 7; ++p[-42]; while (p[-55] != 0) p -= 7; --p[-49]; } while (p[-48] != 0) p += 7; --p[-42]; p += 7; } ++p[-46]; while (p[-48] != 0) p += 7; ++p[-39]; --p[-46]; while (p[-46]) { ++p[-46]; --p[-53]; p -= 7; } p[-46] = 1; while (p[-48]) { while (p[-47]) { --p[-39]; while (p[-39]) { ++p[-39]; --p[-32]; p += 7; } p[-39] = 1; --p[-46]; ++p[-40]; while (p[-46]) { ++p[-46]; --p[-53]; p -= 7; } --p[-47]; p[-46] = 1; } --p[-39]; while (p[-39]) { ++p[-39]; --p[-32]; p += 7; } ++p[-32]; p[-39] = -1; while (p[-39]) { ++p[-39]; --p[-46]; p -= 7; } ++p[-32]; p += 14; } p[-46] -= 2; while (p[-46]) { ++p[-46]; --p[-39]; p += 7; } while (p[-55] != 0) p -= 7; while (p[-48]) { ++p[-46]; while (p[-46]) { p[-46] += p[-47]-1; p[-45] += p[-47]; p[-47] = p[-46]; int loopcnt10; for (loopcnt10 = 10; loopcnt10 > 0; --loopcnt10) { p[-44] += p[-45]; p[-43] += p[-45]; p[-45] = 1; if (p[-44]) { --p[-45]; p[-44] = 0; } p[-44] = 0; p[-42] += p[-45]; p[-45] = p[-43]-1; p[-43] = 0; } p[-46] = 0; p[-45] = 0; ++p[-43]; if (p[-42]) { --p[-43]; p[-42] = 0; } p[-42] = 0; p[-40] += p[-43]; p[-47] -= 10*p[-43]; p[-46] += p[-43]; p[-43] = 0; } p += 7; } while (p[-55] != 0) p -= 7; p[-49] += 19; while (p[-49]) { while (p[-49]) { while (p[-62] != 0) p -= 7; ++p[-56]; while (p[-55] != 0) p += 7; --p[-49]; } while (p[-62] != 0) p -= 7; --p[-56]; p -= 7; } ++p[-50]; p[-49] = 28; while (p[-49]) { while (p[-49]) { while (p[-48] != 0) p += 7; ++p[-42]; while (p[-55] != 0) p -= 7; --p[-49]; } while (p[-48] != 0) p += 7; --p[-42]; p += 7; } ++p[-50]; --p[-57]; while (p[-57]) { ++p[-57]; --p[-64]; p -= 7; } p[-57] = 1; while (p[-55]) { while (p[-54]) { --p[-50]; while (p[-50]) { ++p[-50]; --p[-43]; p += 7; } p[-50] = 1; --p[-57]; ++p[-47]; while (p[-57]) { ++p[-57]; --p[-64]; p -= 7; } --p[-54]; p[-57] = 1; } --p[-50]; while (p[-50]) { ++p[-50]; --p[-43]; p += 7; } ++p[-43]; p[-50] = -1; while (p[-50]) { ++p[-50]; --p[-57]; p -= 7; } ++p[-43]; p += 14; } p[-57] -= 2; while (p[-57]) { ++p[-57]; --p[-50]; p += 7; } while (p[-62] != 0) p -= 7; ++p[-56]; while (p[-56]) { while (p[-56]) { while (p[-69] != 0) p -= 7; ++p[-63]; while (p[-62] != 0) p += 7; --p[-56]; } while (p[-69] != 0) p -= 7; --p[-63]; p -= 7; } ++p[-53]; while (p[-55] != 0) p += 7; ++p[-46]; --p[-53]; while (p[-53]) { ++p[-53]; --p[-60]; p -= 7; } p[-53] = 1; while (p[-55]) { while (p[-54]) { --p[-46]; while (p[-46]) { ++p[-46]; --p[-39]; p += 7; } p[-46] = 1; --p[-53]; ++p[-47]; while (p[-53]) { ++p[-53]; --p[-60]; p -= 7; } --p[-54]; p[-53] = 1; } --p[-46]; while (p[-46]) { ++p[-46]; --p[-39]; p += 7; } ++p[-39]; p[-46] = -1; while (p[-46]) { ++p[-46]; --p[-53]; p -= 7; } ++p[-39]; p += 14; } p[-53] -= 2; while (p[-53]) { ++p[-53]; --p[-46]; p += 7; } while (p[-62] != 0) p -= 7; while (p[-55]) { ++p[-53]; while (p[-53]) { p[-53] += p[-54]-1; p[-52] += p[-54]; p[-54] = p[-53]; int loopcnt11; for (loopcnt11 = 10; loopcnt11 > 0; --loopcnt11) { p[-51] += p[-52]; p[-50] += p[-52]; p[-52] = 1; if (p[-51]) { --p[-52]; p[-51] = 0; } p[-51] = 0; p[-49] += p[-52]; p[-52] = p[-50]-1; p[-50] = 0; } p[-53] = 0; p[-52] = 0; ++p[-50]; if (p[-49]) { --p[-50]; p[-49] = 0; } p[-49] = 0; p[-47] += p[-50]; p[-54] -= 10*p[-50]; p[-53] += p[-50]; p[-50] = 0; } p += 7; } while (p[-62] != 0) p -= 7; p[-56] += 15; while (p[-56]) { while (p[-56]) { while (p[-69] != 0) p -= 7; ++p[-63]; while (p[-62] != 0) p += 7; --p[-56]; } while (p[-69] != 0) p -= 7; --p[-63]; p -= 7; } while (p[-55]) { p[-53] += p[-54]; p[-52] += p[-54]; p[-54] = p[-53]; p[-53] = 0; p += 7; } while (p[-62] != 0) p -= 7; p[-56] += 14; ++p[-57]; while (p[-56]) { while (p[-56]) { while (p[-55] != 0) p += 7; ++p[-49]; while (p[-62] != 0) p -= 7; --p[-56]; } while (p[-55] != 0) p += 7; --p[-49]; p += 7; } --p[-64]; ++p[-57]; while (p[-64]) { ++p[-64]; --p[-71]; p -= 7; } p[-64] = 1; while (p[-62]) { while (p[-61]) { --p[-57]; while (p[-57]) { ++p[-57]; --p[-50]; p += 7; } p[-57] = 1; --p[-64]; ++p[-54]; while (p[-64]) { ++p[-64]; --p[-71]; p -= 7; } --p[-61]; p[-64] = 1; } --p[-57]; while (p[-57]) { ++p[-57]; --p[-50]; p += 7; } ++p[-50]; p[-57] = -1; while (p[-57]) { ++p[-57]; --p[-64]; p -= 7; } ++p[-50]; p += 14; } p[-64] -= 2; while (p[-64]) { ++p[-64]; --p[-57]; p += 7; } while (p[-69] != 0) p -= 7; p[-63] += 14; while (p[-63]) { while (p[-63]) { while (p[-76] != 0) p -= 7; ++p[-70]; while (p[-69] != 0) p += 7; --p[-63]; } while (p[-76] != 0) p -= 7; --p[-70]; p -= 7; } while (p[-62]) { p[-61] += p[-59]; p[-59] = 0; p += 7; } while (p[-69] != 0) p -= 7; p[-63] += 15; while (p[-63]) { while (p[-63]) { while (p[-62] != 0) p += 7; ++p[-56]; while (p[-69] != 0) p -= 7; --p[-63]; } while (p[-62] != 0) p += 7; --p[-56]; p += 7; } while (p[-62]) { p[-60] += p[-61]; p[-59] += p[-61]; p[-61] = p[-60]; p[-60] = 0; p += 7; } while (p[-69] != 0) p -= 7; ++p[-64]; p[-63] += 13; while (p[-63]) { while (p[-63]) { while (p[-76] != 0) p -= 7; ++p[-70]; while (p[-69] != 0) p += 7; --p[-63]; } while (p[-76] != 0) p -= 7; --p[-70]; p -= 7; } ++p[-64]; --p[-57]; while (p[-57]) { ++p[-57]; --p[-50]; p += 7; } p[-57] = 1; while (p[-55]) { while (p[-54]) { --p[-64]; while (p[-64]) { ++p[-64]; --p[-71]; p -= 7; } ++p[-61]; --p[-57]; p[-64] = 1; while (p[-57]) { ++p[-57]; --p[-50]; p += 7; } --p[-54]; p[-57] = 1; } --p[-64]; while (p[-64]) { ++p[-64]; --p[-71]; p -= 7; } --p[-50]; ++p[-57]; while (p[-50]) { ++p[-50]; --p[-43]; p += 7; } ++p[-43]; p += 14; } p[-57] -= 2; while (p[-57]) { ++p[-57]; --p[-64]; p -= 7; } while (p[-62] != 0) p -= 7; p[-56] += 13; while (p[-56]) { while (p[-56]) { while (p[-55] != 0) p += 7; ++p[-49]; while (p[-62] != 0) p -= 7; --p[-56]; } while (p[-55] != 0) p += 7; --p[-49]; p += 7; } while (p[-55]) { p[-54] += p[-52]; p[-52] = 0; p += 7; } while (p[-62] != 0) p -= 7; p[-56] += 12; while (p[-56]) { while (p[-56]) { while (p[-69] != 0) p -= 7; ++p[-63]; while (p[-62] != 0) p += 7; --p[-56]; } while (p[-69] != 0) p -= 7; --p[-63]; p -= 7; } while (p[-55]) { p[-53] += p[-54]; p[-52] += p[-54]; p[-54] = p[-53]; p[-53] = 0; p += 7; } while (p[-62] != 0) p -= 7; p[-56] += 5; ++p[-57]; while (p[-56]) { while (p[-56]) { while (p[-55] != 0) p += 7; ++p[-49]; while (p[-62] != 0) p -= 7; --p[-56]; } while (p[-55] != 0) p += 7; --p[-49]; p += 7; } --p[-64]; ++p[-57]; while (p[-64]) { ++p[-64]; --p[-71]; p -= 7; } p[-64] = 1; while (p[-62]) { while (p[-61]) { --p[-57]; while (p[-57]) { ++p[-57]; --p[-50]; p += 7; } p[-57] = 1; --p[-64]; ++p[-54]; while (p[-64]) { ++p[-64]; --p[-71]; p -= 7; } --p[-61]; p[-64] = 1; } --p[-57]; while (p[-57]) { ++p[-57]; --p[-50]; p += 7; } ++p[-50]; p[-57] = -1; while (p[-57]) { ++p[-57]; --p[-64]; p -= 7; } ++p[-50]; p += 14; } p[-64] -= 2; while (p[-64]) { ++p[-64]; --p[-57]; p += 7; } while (p[-69] != 0) p -= 7; p[-63] += 5; while (p[-63]) { while (p[-63]) { while (p[-76] != 0) p -= 7; ++p[-70]; while (p[-69] != 0) p += 7; --p[-63]; } while (p[-76] != 0) p -= 7; --p[-70]; p -= 7; } while (p[-62]) { p[-61] += p[-59]; p[-59] = 0; p += 7; } while (p[-69] != 0) p -= 7; p[-63] += 6; while (p[-63]) { while (p[-63]) { while (p[-62] != 0) p += 7; ++p[-56]; while (p[-69] != 0) p -= 7; --p[-63]; } while (p[-62] != 0) p += 7; --p[-56]; p += 7; } while (p[-62]) { p[-60] += p[-61]; p[-59] += p[-61]; p[-61] = p[-60]; p[-60] = 0; p += 7; } while (p[-69] != 0) p -= 7; ++p[-64]; p[-63] += 4; while (p[-63]) { while (p[-63]) { while (p[-76] != 0) p -= 7; ++p[-70]; while (p[-69] != 0) p += 7; --p[-63]; } while (p[-76] != 0) p -= 7; --p[-70]; p -= 7; } ++p[-64]; --p[-57]; while (p[-57]) { ++p[-57]; --p[-50]; p += 7; } p[-57] = 1; while (p[-55]) { while (p[-54]) { --p[-64]; while (p[-64]) { ++p[-64]; --p[-71]; p -= 7; } ++p[-61]; --p[-57]; p[-64] = 1; while (p[-57]) { ++p[-57]; --p[-50]; p += 7; } --p[-54]; p[-57] = 1; } --p[-64]; while (p[-64]) { ++p[-64]; --p[-71]; p -= 7; } --p[-50]; ++p[-57]; while (p[-50]) { ++p[-50]; --p[-43]; p += 7; } ++p[-43]; p += 14; } p[-57] -= 2; while (p[-57]) { ++p[-57]; --p[-64]; p -= 7; } while (p[-62] != 0) p -= 7; p[-56] += 4; while (p[-56]) { while (p[-56]) { while (p[-55] != 0) p += 7; ++p[-49]; while (p[-62] != 0) p -= 7; --p[-56]; } while (p[-55] != 0) p += 7; --p[-49]; p += 7; } while (p[-55]) { p[-54] += p[-52]; p[-52] = 0; p += 7; } while (p[-62] != 0) p -= 7; p[-56] += 3; while (p[-56]) { while (p[-56]) { while (p[-69] != 0) p -= 7; ++p[-63]; while (p[-62] != 0) p += 7; --p[-56]; } while (p[-69] != 0) p -= 7; --p[-63]; p -= 7; } while (p[-55]) { p[-53] += p[-54]; p[-52] += p[-54]; p[-54] = p[-53]; p[-53] = 0; p += 7; } while (p[-62] != 0) p -= 7; p[-56] += 5; ++p[-57]; while (p[-56]) { while (p[-56]) { while (p[-55] != 0) p += 7; ++p[-49]; while (p[-62] != 0) p -= 7; --p[-56]; } while (p[-55] != 0) p += 7; --p[-49]; p += 7; } --p[-64]; ++p[-57]; while (p[-64]) { ++p[-64]; --p[-71]; p -= 7; } p[-64] = 1; while (p[-62]) { while (p[-61]) { --p[-57]; while (p[-57]) { ++p[-57]; --p[-50]; p += 7; } p[-57] = 1; --p[-64]; ++p[-54]; while (p[-64]) { ++p[-64]; --p[-71]; p -= 7; } --p[-61]; p[-64] = 1; } --p[-57]; while (p[-57]) { ++p[-57]; --p[-50]; p += 7; } ++p[-50]; p[-57] = -1; while (p[-57]) { ++p[-57]; --p[-64]; p -= 7; } ++p[-50]; p += 14; } p[-64] -= 2; while (p[-64]) { ++p[-64]; --p[-57]; p += 7; } while (p[-69] != 0) p -= 7; p[-63] += 5; while (p[-63]) { while (p[-63]) { while (p[-76] != 0) p -= 7; ++p[-70]; while (p[-69] != 0) p += 7; --p[-63]; } while (p[-76] != 0) p -= 7; --p[-70]; p -= 7; } while (p[-62]) { p[-61] += p[-59]; p[-59] = 0; p += 7; } while (p[-69] != 0) p -= 7; p[-63] += 6; while (p[-63]) { while (p[-63]) { while (p[-62] != 0) p += 7; ++p[-56]; while (p[-69] != 0) p -= 7; --p[-63]; } while (p[-62] != 0) p += 7; --p[-56]; p += 7; } while (p[-62]) { p[-60] += p[-61]; p[-59] += p[-61]; p[-61] = p[-60]; p[-60] = 0; p += 7; } while (p[-69] != 0) p -= 7; ++p[-64]; p[-63] += 13; while (p[-63]) { while (p[-63]) { while (p[-76] != 0) p -= 7; ++p[-70]; while (p[-69] != 0) p += 7; --p[-63]; } while (p[-76] != 0) p -= 7; --p[-70]; p -= 7; } ++p[-64]; --p[-57]; while (p[-57]) { ++p[-57]; --p[-50]; p += 7; } p[-57] = 1; while (p[-55]) { while (p[-54]) { --p[-64]; while (p[-64]) { ++p[-64]; --p[-71]; p -= 7; } ++p[-61]; --p[-57]; p[-64] = 1; while (p[-57]) { ++p[-57]; --p[-50]; p += 7; } --p[-54]; p[-57] = 1; } --p[-64]; while (p[-64]) { ++p[-64]; --p[-71]; p -= 7; } --p[-50]; ++p[-57]; while (p[-50]) { ++p[-50]; --p[-43]; p += 7; } ++p[-43]; p += 14; } p[-57] -= 2; while (p[-57]) { ++p[-57]; --p[-64]; p -= 7; } while (p[-62] != 0) p -= 7; p[-56] += 13; while (p[-56]) { while (p[-56]) { while (p[-55] != 0) p += 7; ++p[-49]; while (p[-62] != 0) p -= 7; --p[-56]; } while (p[-55] != 0) p += 7; --p[-49]; p += 7; } while (p[-55]) { p[-54] += p[-52]; p[-52] = 0; p += 7; } while (p[-62] != 0) p -= 7; p[-56] += 13; while (p[-56]) { while (p[-56]) { while (p[-69] != 0) p -= 7; ++p[-63]; while (p[-62] != 0) p += 7; --p[-56]; } while (p[-69] != 0) p -= 7; --p[-63]; p -= 7; } while (p[-55] != 0) p += 7; while (p[-48] != 0) p += 7; ++p[-35]; while (p[-34] != 0) p -= 7; while (p[-41] != 0) p -= 7; while (p[-48] != 0) p -= 7; ++p[-38]; while (p[-41]) { --p[-35]; while (p[-35]) { ++p[-35]; --p[-28]; p += 7; } ++p[-36]; p[-35] = 1; while (p[-41] != 0) p -= 7; while (p[-48] != 0) p -= 7; ++p[-37]; --p[-36]; while (p[-36]) { ++p[-36]; --p[-29]; p += 7; } p[-36] = 1; while (p[-41]) { --p[-38]; while (p[-38]) { ++p[-38]; --p[-45]; p -= 7; } p[-38] = 1; p[-39] += p[-40]; p[-37] += p[-40]; p[-40] = p[-37]; p[-37] = 0; while (p[-39]) { --p[-37]; while (p[-37]) { ++p[-37]; --p[-30]; p += 7; } p[-37] = 1; p[-39] += p[-40]; p[-38] += p[-40]; p[-40] = p[-38]; p[-38] = 0; while (p[-39]) { --p[-36]; while (p[-36]) { ++p[-36]; --p[-29]; p += 7; } --p[-37]; p[-36] = 1; ++p[-40]; while (p[-37]) { ++p[-37]; --p[-44]; p -= 7; } --p[-39]; p[-37] = 1; } --p[-38]; while (p[-38]) { ++p[-38]; --p[-45]; p -= 7; } --p[-39]; p[-38] = 1; } --p[-37]; while (p[-37]) { ++p[-37]; --p[-30]; p += 7; } ++p[-30]; --p[-29]; while (p[-29]) { ++p[-29]; --p[-22]; p += 7; } ++p[-22]; p += 14; } --p[-36]; --p[-35]; while (p[-35]) { ++p[-35]; --p[-42]; p -= 7; } --p[-30]; ++p[-28]; while (p[-30]) { ++p[-30]; --p[-37]; p -= 7; } --p[-31]; while (p[-31]) { ++p[-31]; --p[-38]; p -= 7; } ++p[-24]; p += 14; } --p[-38]; --p[-35]; while (p[-35]) { ++p[-35]; --p[-28]; p += 7; } while (p[-48] != 0) p -= 7; while (p[-41]) { ++p[-39]; while (p[-39]) { p[-39] += p[-40]-1; p[-38] += p[-40]; p[-40] = p[-39]; int loopcnt12; for (loopcnt12 = 10; loopcnt12 > 0; --loopcnt12) { p[-37] += p[-38]; p[-36] += p[-38]; p[-38] = 1; if (p[-37]) { --p[-38]; p[-37] = 0; } p[-37] = 0; p[-35] += p[-38]; p[-38] = p[-36]-1; p[-36] = 0; } p[-39] = 0; p[-38] = 0; ++p[-36]; if (p[-35]) { --p[-36]; p[-35] = 0; } p[-35] = 0; p[-33] += p[-36]; p[-40] -= 10*p[-36]; p[-39] += p[-36]; p[-36] = 0; } p += 7; } while (p[-48] != 0) p -= 7; ++p[-42]; while (p[-42]) { while (p[-42]) { while (p[-41] != 0) p += 7; ++p[-35]; while (p[-48] != 0) p -= 7; --p[-42]; } while (p[-41] != 0) p += 7; --p[-35]; p += 7; } while (p[-41] != 0) p += 7; while (p[-34] != 0) p += 7; ++p[-21]; while (p[-20] != 0) p -= 7; while (p[-27] != 0) p -= 7; while (p[-34] != 0) p -= 7; ++p[-24]; while (p[-27]) { --p[-21]; while (p[-21]) { ++p[-21]; --p[-14]; p += 7; } ++p[-22]; p[-21] = 1; while (p[-27] != 0) p -= 7; while (p[-34] != 0) p -= 7; ++p[-23]; --p[-22]; while (p[-22]) { ++p[-22]; --p[-15]; p += 7; } p[-22] = 1; while (p[-27]) { --p[-24]; while (p[-24]) { ++p[-24]; --p[-31]; p -= 7; } p[-24] = 1; p[-25] += p[-26]; p[-23] += p[-26]; p[-26] = p[-23]; p[-23] = 0; while (p[-25]) { --p[-23]; while (p[-23]) { ++p[-23]; --p[-16]; p += 7; } p[-23] = 1; p[-25] += p[-26]; p[-24] += p[-26]; p[-26] = p[-24]; p[-24] = 0; while (p[-25]) { --p[-22]; while (p[-22]) { ++p[-22]; --p[-15]; p += 7; } --p[-23]; p[-22] = 1; ++p[-26]; while (p[-23]) { ++p[-23]; --p[-30]; p -= 7; } --p[-25]; p[-23] = 1; } --p[-24]; while (p[-24]) { ++p[-24]; --p[-31]; p -= 7; } --p[-25]; p[-24] = 1; } --p[-23]; while (p[-23]) { ++p[-23]; --p[-16]; p += 7; } ++p[-16]; --p[-15]; while (p[-15]) { ++p[-15]; --p[-8]; p += 7; } ++p[-8]; p += 14; } --p[-22]; --p[-21]; while (p[-21]) { ++p[-21]; --p[-28]; p -= 7; } --p[-16]; ++p[-14]; while (p[-16]) { ++p[-16]; --p[-23]; p -= 7; } --p[-17]; while (p[-17]) { ++p[-17]; --p[-24]; p -= 7; } ++p[-10]; p += 14; } --p[-24]; --p[-21]; while (p[-21]) { ++p[-21]; --p[-14]; p += 7; } while (p[-34] != 0) p -= 7; while (p[-27]) { ++p[-25]; while (p[-25]) { p[-25] += p[-26]-1; p[-24] += p[-26]; p[-26] = p[-25]; int loopcnt13; for (loopcnt13 = 10; loopcnt13 > 0; --loopcnt13) { p[-23] += p[-24]; p[-22] += p[-24]; p[-24] = 1; if (p[-23]) { --p[-24]; p[-23] = 0; } p[-23] = 0; p[-21] += p[-24]; p[-24] = p[-22]-1; p[-22] = 0; } p[-25] = 0; p[-24] = 0; ++p[-22]; if (p[-21]) { --p[-22]; p[-21] = 0; } p[-21] = 0; p[-19] += p[-22]; p[-26] -= 10*p[-22]; p[-25] += p[-22]; p[-22] = 0; } p += 7; } while (p[-34] != 0) p -= 7; ++p[-28]; while (p[-28]) { while (p[-28]) { while (p[-27] != 0) p += 7; ++p[-21]; while (p[-34] != 0) p -= 7; --p[-28]; } while (p[-27] != 0) p += 7; --p[-21]; p += 7; } while (p[-27] != 0) p += 7; while (p[-20] != 0) p += 7; ++p[-7]; while (p[-6] != 0) p -= 7; while (p[-13] != 0) p -= 7; while (p[-20] != 0) p -= 7; ++p[-10]; while (p[-13]) { --p[-7]; while (p[-7]) { ++p[-7]; --p[0]; p += 7; } ++p[-8]; p[-7] = 1; while (p[-13] != 0) p -= 7; while (p[-20] != 0) p -= 7; ++p[-9]; --p[-8]; while (p[-8]) { ++p[-8]; --p[-1]; p += 7; } p[-8] = 1; while (p[-13]) { --p[-10]; while (p[-10]) { ++p[-10]; --p[-17]; p -= 7; } p[-10] = 1; p[-11] += p[-12]; p[-9] += p[-12]; p[-12] = p[-9]; p[-9] = 0; while (p[-11]) { --p[-9]; while (p[-9]) { ++p[-9]; --p[-2]; p += 7; } p[-9] = 1; p[-11] += p[-12]; p[-10] += p[-12]; p[-12] = p[-10]; p[-10] = 0; while (p[-11]) { --p[-8]; while (p[-8]) { ++p[-8]; --p[-1]; p += 7; } --p[-9]; p[-8] = 1; ++p[-12]; while (p[-9]) { ++p[-9]; --p[-16]; p -= 7; } --p[-11]; p[-9] = 1; } --p[-10]; while (p[-10]) { ++p[-10]; --p[-17]; p -= 7; } --p[-11]; p[-10] = 1; } --p[-9]; while (p[-9]) { ++p[-9]; --p[-2]; p += 7; } ++p[-2]; --p[-1]; while (p[-1]) { ++p[-1]; --p[6]; p += 7; } ++p[6]; p += 14; } --p[-8]; --p[-7]; while (p[-7]) { ++p[-7]; --p[-14]; p -= 7; } --p[-2]; ++p[0]; while (p[-2]) { ++p[-2]; --p[-9]; p -= 7; } --p[-3]; while (p[-3]) { ++p[-3]; --p[-10]; p -= 7; } ++p[4]; p += 14; } --p[-7]; --p[-10]; while (p[-7]) { ++p[-7]; --p[0]; p += 7; } while (p[-20] != 0) p -= 7; while (p[-13]) { ++p[-11]; while (p[-11]) { p[-11] += p[-12]-1; p[-10] += p[-12]; p[-12] = p[-11]; int loopcnt14; for (loopcnt14 = 10; loopcnt14 > 0; --loopcnt14) { p[-9] += p[-10]; p[-8] += p[-10]; p[-10] = 1; if (p[-9]) { --p[-10]; p[-9] = 0; } p[-9] = 0; p[-7] += p[-10]; p[-10] = p[-8]-1; p[-8] = 0; } p[-11] = 0; p[-10] = 0; ++p[-8]; if (p[-7]) { --p[-8]; p[-7] = 0; } p[-7] = 0; p[-5] += p[-8]; p[-12] -= 10*p[-8]; p[-11] += p[-8]; p[-8] = 0; } p += 7; } while (p[-20] != 0) p -= 7; ++p[-14]; while (p[-14]) { while (p[-14]) { while (p[-13] != 0) p += 7; ++p[-7]; while (p[-20] != 0) p -= 7; --p[-14]; } while (p[-13] != 0) p += 7; --p[-7]; p += 7; } while (p[-13] != 0) p += 7; while (p[-6] != 0) p += 7; ++p[7]; while (p[8] != 0) p -= 7; while (p[1] != 0) p -= 7; while (p[-6] != 0) p -= 7; ++p[4]; while (p[1]) { --p[7]; while (p[7]) { ++p[7]; --p[14]; p += 7; } ++p[6]; p[7] = 1; while (p[1] != 0) p -= 7; while (p[-6] != 0) p -= 7; ++p[5]; --p[6]; while (p[6]) { ++p[6]; --p[13]; p += 7; } p[6] = 1; while (p[1]) { --p[4]; while (p[4]) { ++p[4]; --p[-3]; p -= 7; } p[4] = 1; p[3] += p[2]; p[5] += p[2]; p[2] = p[5]; p[5] = 0; while (p[3]) { --p[5]; while (p[5]) { ++p[5]; --p[12]; p += 7; } p[5] = 1; p[3] += p[2]; p[4] += p[2]; p[2] = p[4]; p[4] = 0; while (p[3]) { --p[6]; while (p[6]) { ++p[6]; --p[13]; p += 7; } --p[5]; p[6] = 1; ++p[2]; while (p[5]) { ++p[5]; --p[-2]; p -= 7; } --p[3]; p[5] = 1; } --p[4]; while (p[4]) { ++p[4]; --p[-3]; p -= 7; } --p[3]; p[4] = 1; } --p[5]; while (p[5]) { ++p[5]; --p[12]; p += 7; } ++p[12]; --p[13]; while (p[13]) { ++p[13]; --p[20]; p += 7; } ++p[20]; p += 14; } --p[6]; --p[7]; while (p[7]) { ++p[7]; --p[0]; p -= 7; } --p[12]; ++p[14]; while (p[12]) { ++p[12]; --p[5]; p -= 7; } --p[11]; while (p[11]) { ++p[11]; --p[4]; p -= 7; } ++p[18]; p += 14; } --p[4]; --p[7]; while (p[7]) { ++p[7]; --p[14]; p += 7; } while (p[-6] != 0) p -= 7; while (p[1]) { ++p[3]; while (p[3]) { p[3] += p[2]-1; p[4] += p[2]; p[2] = p[3]; int loopcnt15; for (loopcnt15 = 10; loopcnt15 > 0; --loopcnt15) { p[5] += p[4]; p[6] += p[4]; p[4] = 1; if (p[5]) { --p[4]; p[5] = 0; } p[5] = 0; p[7] += p[4]; p[4] = p[6]-1; p[6] = 0; } p[3] = 0; p[4] = 0; ++p[6]; if (p[7]) { --p[6]; p[7] = 0; } p[7] = 0; p[9] += p[6]; p[2] -= 10*p[6]; p[3] += p[6]; p[6] = 0; } p += 7; } while (p[-6] != 0) p -= 7; ++p[0]; while (p[0]) { while (p[0]) { while (p[1] != 0) p += 7; ++p[7]; while (p[-6] != 0) p -= 7; --p[0]; } while (p[1] != 0) p += 7; --p[7]; p += 7; } while (p[1] != 0) p += 7; while (p[8] != 0) p += 7; ++p[21]; while (p[22] != 0) p -= 7; while (p[15] != 0) p -= 7; while (p[8] != 0) p -= 7; ++p[18]; while (p[15]) { --p[21]; while (p[21]) { ++p[21]; --p[28]; p += 7; } ++p[20]; p[21] = 1; while (p[15] != 0) p -= 7; while (p[8] != 0) p -= 7; ++p[19]; --p[20]; while (p[20]) { ++p[20]; --p[27]; p += 7; } p[20] = 1; while (p[15]) { --p[18]; while (p[18]) { ++p[18]; --p[11]; p -= 7; } p[18] = 1; p[17] += p[16]; p[19] += p[16]; p[16] = p[19]; p[19] = 0; while (p[17]) { --p[19]; while (p[19]) { ++p[19]; --p[26]; p += 7; } p[19] = 1; p[17] += p[16]; p[18] += p[16]; p[16] = p[18]; p[18] = 0; while (p[17]) { --p[20]; while (p[20]) { ++p[20]; --p[27]; p += 7; } --p[19]; p[20] = 1; ++p[16]; while (p[19]) { ++p[19]; --p[12]; p -= 7; } --p[17]; p[19] = 1; } --p[18]; while (p[18]) { ++p[18]; --p[11]; p -= 7; } --p[17]; p[18] = 1; } --p[19]; while (p[19]) { ++p[19]; --p[26]; p += 7; } ++p[26]; --p[27]; while (p[27]) { ++p[27]; --p[34]; p += 7; } ++p[34]; p += 14; } --p[20]; --p[21]; while (p[21]) { ++p[21]; --p[14]; p -= 7; } --p[26]; ++p[28]; while (p[26]) { ++p[26]; --p[19]; p -= 7; } --p[25]; while (p[25]) { ++p[25]; --p[18]; p -= 7; } ++p[32]; p += 14; } --p[18]; --p[21]; while (p[21]) { ++p[21]; --p[28]; p += 7; } while (p[8] != 0) p -= 7; while (p[15]) { ++p[17]; while (p[17]) { p[17] += p[16]-1; p[18] += p[16]; p[16] = p[17]; int loopcnt16; for (loopcnt16 = 10; loopcnt16 > 0; --loopcnt16) { p[19] += p[18]; p[20] += p[18]; p[18] = 1; if (p[19]) { --p[18]; p[19] = 0; } p[19] = 0; p[21] += p[18]; p[18] = p[20]-1; p[20] = 0; } p[17] = 0; p[18] = 0; ++p[20]; if (p[21]) { --p[20]; p[21] = 0; } p[21] = 0; p[23] += p[20]; p[16] -= 10*p[20]; p[17] += p[20]; p[20] = 0; } p += 7; } while (p[8] != 0) p -= 7; ++p[14]; while (p[14]) { while (p[14]) { while (p[15] != 0) p += 7; ++p[21]; while (p[8] != 0) p -= 7; --p[14]; } while (p[15] != 0) p += 7; --p[21]; p += 7; } while (p[15] != 0) p += 7; while (p[22] != 0) p += 7; ++p[35]; while (p[36] != 0) p -= 7; while (p[29] != 0) p -= 7; while (p[22] != 0) p -= 7; ++p[32]; while (p[29]) { --p[35]; while (p[35]) { ++p[35]; --p[42]; p += 7; } ++p[34]; p[35] = 1; while (p[29] != 0) p -= 7; while (p[22] != 0) p -= 7; ++p[33]; --p[34]; while (p[34]) { ++p[34]; --p[41]; p += 7; } p[34] = 1; while (p[29]) { --p[32]; while (p[32]) { ++p[32]; --p[25]; p -= 7; } p[32] = 1; p[31] += p[30]; p[33] += p[30]; p[30] = p[33]; p[33] = 0; while (p[31]) { --p[33]; while (p[33]) { ++p[33]; --p[40]; p += 7; } p[33] = 1; p[31] += p[30]; p[32] += p[30]; p[30] = p[32]; p[32] = 0; while (p[31]) { --p[34]; while (p[34]) { ++p[34]; --p[41]; p += 7; } --p[33]; p[34] = 1; ++p[30]; while (p[33]) { ++p[33]; --p[26]; p -= 7; } --p[31]; p[33] = 1; } --p[32]; while (p[32]) { ++p[32]; --p[25]; p -= 7; } --p[31]; p[32] = 1; } --p[33]; while (p[33]) { ++p[33]; --p[40]; p += 7; } ++p[40]; --p[41]; while (p[41]) { ++p[41]; --p[48]; p += 7; } ++p[48]; p += 14; } --p[34]; --p[35]; while (p[35]) { ++p[35]; --p[28]; p -= 7; } --p[40]; ++p[42]; while (p[40]) { ++p[40]; --p[33]; p -= 7; } --p[39]; while (p[39]) { ++p[39]; --p[32]; p -= 7; } ++p[46]; p += 14; } --p[32]; --p[35]; while (p[35]) { ++p[35]; --p[42]; p += 7; } while (p[22] != 0) p -= 7; while (p[29]) { ++p[31]; while (p[31]) { p[31] += p[30]-1; p[32] += p[30]; p[30] = p[31]; int loopcnt17; for (loopcnt17 = 10; loopcnt17 > 0; --loopcnt17) { p[33] += p[32]; p[34] += p[32]; p[32] = 1; if (p[33]) { --p[32]; p[33] = 0; } p[33] = 0; p[35] += p[32]; p[32] = p[34]-1; p[34] = 0; } p[31] = 0; p[32] = 0; ++p[34]; if (p[35]) { --p[34]; p[35] = 0; } p[35] = 0; p[37] += p[34]; p[30] -= 10*p[34]; p[31] += p[34]; p[34] = 0; } p += 7; } while (p[22] != 0) p -= 7; p[28] += 25; while (p[28]) { while (p[28]) { while (p[15] != 0) p -= 7; ++p[21]; while (p[22] != 0) p += 7; --p[28]; } while (p[15] != 0) p -= 7; --p[21]; p -= 7; } ++p[27]; p[28] = 1; while (p[28]) { while (p[28]) { while (p[15] != 0) p -= 7; ++p[21]; while (p[22] != 0) p += 7; --p[28]; } while (p[15] != 0) p -= 7; --p[21]; p -= 7; } --p[34]; ++p[27]; while (p[34]) { ++p[34]; --p[41]; p += 7; } p[34] = 1; while (p[36]) { while (p[37]) { --p[27]; while (p[27]) { ++p[27]; --p[20]; p -= 7; } ++p[30]; --p[34]; p[27] = 1; while (p[34]) { ++p[34]; --p[41]; p += 7; } --p[37]; p[34] = 1; } --p[27]; while (p[27]) { ++p[27]; --p[20]; p -= 7; } --p[41]; ++p[34]; while (p[41]) { ++p[41]; --p[48]; p += 7; } ++p[48]; p += 14; } p[34] -= 2; while (p[34]) { ++p[34]; --p[27]; p -= 7; } while (p[29] != 0) p -= 7; p[35] += 4; while (p[35]) { while (p[35]) { while (p[36] != 0) p += 7; ++p[42]; while (p[29] != 0) p -= 7; --p[35]; } while (p[36] != 0) p += 7; --p[42]; p += 7; } ++p[34]; p[35] = 1; while (p[35]) { while (p[35]) { while (p[22] != 0) p -= 7; ++p[28]; while (p[29] != 0) p += 7; --p[35]; } while (p[22] != 0) p -= 7; --p[28]; p -= 7; } --p[41]; ++p[34]; while (p[41]) { ++p[41]; --p[48]; p += 7; } p[41] = 1; while (p[43]) { while (p[44]) { --p[34]; while (p[34]) { ++p[34]; --p[27]; p -= 7; } ++p[37]; --p[41]; p[34] = 1; while (p[41]) { ++p[41]; --p[48]; p += 7; } --p[44]; p[41] = 1; } --p[34]; while (p[34]) { ++p[34]; --p[27]; p -= 7; } --p[48]; ++p[41]; while (p[48]) { ++p[48]; --p[55]; p += 7; } ++p[55]; p += 14; } p[41] -= 2; while (p[41]) { ++p[41]; --p[34]; p -= 7; } while (p[36] != 0) p -= 7; p[42] += 4; while (p[42]) { while (p[42]) { while (p[43] != 0) p += 7; ++p[49]; while (p[36] != 0) p -= 7; --p[42]; } while (p[43] != 0) p += 7; --p[49]; p += 7; } ++p[41]; p[42] = 1; while (p[42]) { while (p[42]) { while (p[29] != 0) p -= 7; ++p[35]; while (p[36] != 0) p += 7; --p[42]; } while (p[29] != 0) p -= 7; --p[35]; p -= 7; } --p[48]; ++p[41]; while (p[48]) { ++p[48]; --p[55]; p += 7; } p[48] = 1; while (p[50]) { while (p[51]) { --p[41]; while (p[41]) { ++p[41]; --p[34]; p -= 7; } ++p[44]; --p[48]; p[41] = 1; while (p[48]) { ++p[48]; --p[55]; p += 7; } --p[51]; p[48] = 1; } --p[41]; while (p[41]) { ++p[41]; --p[34]; p -= 7; } --p[55]; ++p[48]; while (p[55]) { ++p[55]; --p[62]; p += 7; } ++p[62]; p += 14; } p[48] -= 2; while (p[48]) { ++p[48]; --p[41]; p -= 7; } while (p[43] != 0) p -= 7; p[49] += 8; while (p[49]) { while (p[49]) { while (p[50] != 0) p += 7; ++p[56]; while (p[43] != 0) p -= 7; --p[49]; } while (p[50] != 0) p += 7; --p[56]; p += 7; } ++p[48]; p[49] = 13; while (p[49]) { while (p[49]) { while (p[36] != 0) p -= 7; ++p[42]; while (p[43] != 0) p += 7; --p[49]; } while (p[36] != 0) p -= 7; --p[42]; p -= 7; } ++p[48]; --p[55]; while (p[55]) { ++p[55]; --p[62]; p += 7; } p[55] = 1; while (p[57]) { while (p[58]) { --p[48]; while (p[48]) { ++p[48]; --p[41]; p -= 7; } ++p[51]; --p[55]; p[48] = 1; while (p[55]) { ++p[55]; --p[62]; p += 7; } --p[58]; p[55] = 1; } --p[48]; while (p[48]) { ++p[48]; --p[41]; p -= 7; } --p[62]; ++p[55]; while (p[62]) { ++p[62]; --p[69]; p += 7; } ++p[69]; p += 14; } p[55] -= 2; while (p[55]) { ++p[55]; --p[48]; p -= 7; } while (p[50] != 0) p -= 7; p[56] += 16; while (p[56]) { while (p[56]) { while (p[57] != 0) p += 7; ++p[63]; while (p[50] != 0) p -= 7; --p[56]; } while (p[57] != 0) p += 7; --p[63]; p += 7; } p[56] = 13; ++p[55]; while (p[56]) { while (p[56]) { while (p[43] != 0) p -= 7; ++p[49]; while (p[50] != 0) p += 7; --p[56]; } while (p[43] != 0) p -= 7; --p[49]; p -= 7; } --p[62]; ++p[55]; while (p[62]) { ++p[62]; --p[69]; p += 7; } p[62] = 1; while (p[64]) { while (p[65]) { --p[55]; while (p[55]) { ++p[55]; --p[48]; p -= 7; } ++p[58]; --p[62]; p[55] = 1; while (p[62]) { ++p[62]; --p[69]; p += 7; } --p[65]; p[62] = 1; } --p[55]; while (p[55]) { ++p[55]; --p[48]; p -= 7; } --p[69]; ++p[62]; while (p[69]) { ++p[69]; --p[76]; p += 7; } ++p[76]; p += 14; } p[62] -= 2; while (p[62]) { ++p[62]; --p[55]; p -= 7; } while (p[57] != 0) p -= 7; p[63] += 7; while (p[63]) { while (p[63]) { while (p[64] != 0) p += 7; ++p[70]; while (p[57] != 0) p -= 7; --p[63]; } while (p[64] != 0) p += 7; --p[70]; p += 7; } ++p[62]; p[63] = 4; while (p[63]) { while (p[63]) { while (p[50] != 0) p -= 7; ++p[56]; while (p[57] != 0) p += 7; --p[63]; } while (p[50] != 0) p -= 7; --p[56]; p -= 7; } --p[69]; ++p[62]; while (p[69]) { ++p[69]; --p[76]; p += 7; } p[69] = 1; while (p[71]) { while (p[72]) { --p[62]; while (p[62]) { ++p[62]; --p[55]; p -= 7; } ++p[65]; --p[69]; p[62] = 1; while (p[69]) { ++p[69]; --p[76]; p += 7; } --p[72]; p[69] = 1; } --p[62]; while (p[62]) { ++p[62]; --p[55]; p -= 7; } --p[76]; ++p[69]; while (p[76]) { ++p[76]; --p[83]; p += 7; } ++p[83]; p += 14; } p[69] -= 2; while (p[69]) { ++p[69]; --p[62]; p -= 7; } while (p[64] != 0) p -= 7; p[70] += 16; while (p[70]) { while (p[70]) { while (p[71] != 0) p += 7; ++p[77]; while (p[64] != 0) p -= 7; --p[70]; } while (p[71] != 0) p += 7; --p[77]; p += 7; } ++p[69]; p[70] = 21; while (p[70]) { while (p[70]) { while (p[57] != 0) p -= 7; ++p[63]; while (p[64] != 0) p += 7; --p[70]; } while (p[57] != 0) p -= 7; --p[63]; p -= 7; } --p[76]; ++p[69]; while (p[76]) { ++p[76]; --p[83]; p += 7; } p[76] = 1; while (p[78]) { while (p[79]) { --p[69]; while (p[69]) { ++p[69]; --p[62]; p -= 7; } ++p[72]; --p[76]; p[69] = 1; while (p[76]) { ++p[76]; --p[83]; p += 7; } --p[79]; p[76] = 1; } --p[69]; while (p[69]) { ++p[69]; --p[62]; p -= 7; } --p[83]; ++p[76]; while (p[83]) { ++p[83]; --p[90]; p += 7; } ++p[90]; p += 14; } p[76] -= 2; while (p[76]) { ++p[76]; --p[69]; p -= 7; } while (p[71] != 0) p -= 7; p[77] += 24; while (p[77]) { while (p[77]) { while (p[78] != 0) p += 7; ++p[84]; while (p[71] != 0) p -= 7; --p[77]; } while (p[78] != 0) p += 7; --p[84]; p += 7; } ++p[76]; p[77] = 21; while (p[77]) { while (p[77]) { while (p[64] != 0) p -= 7; ++p[70]; while (p[71] != 0) p += 7; --p[77]; } while (p[64] != 0) p -= 7; --p[70]; p -= 7; } --p[83]; ++p[76]; while (p[83]) { ++p[83]; --p[90]; p += 7; } p[83] = 1; while (p[85]) { while (p[86]) { --p[76]; while (p[76]) { ++p[76]; --p[69]; p -= 7; } ++p[79]; --p[83]; p[76] = 1; while (p[83]) { ++p[83]; --p[90]; p += 7; } --p[86]; p[83] = 1; } --p[76]; while (p[76]) { ++p[76]; --p[69]; p -= 7; } --p[90]; ++p[83]; while (p[90]) { ++p[90]; --p[97]; p += 7; } ++p[97]; p += 14; } p[83] -= 2; while (p[83]) { ++p[83]; --p[76]; p -= 7; } while (p[78] != 0) p -= 7; p[84] += 15; while (p[84]) { while (p[84]) { while (p[85] != 0) p += 7; ++p[91]; while (p[78] != 0) p -= 7; --p[84]; } while (p[85] != 0) p += 7; --p[91]; p += 7; } ++p[83]; p[84] = 12; while (p[84]) { while (p[84]) { while (p[71] != 0) p -= 7; ++p[77]; while (p[78] != 0) p += 7; --p[84]; } while (p[71] != 0) p -= 7; --p[77]; p -= 7; } --p[90]; ++p[83]; while (p[90]) { ++p[90]; --p[97]; p += 7; } p[90] = 1; while (p[92]) { while (p[93]) { --p[83]; while (p[83]) { ++p[83]; --p[76]; p -= 7; } ++p[86]; --p[90]; p[83] = 1; while (p[90]) { ++p[90]; --p[97]; p += 7; } --p[93]; p[90] = 1; } --p[83]; while (p[83]) { ++p[83]; --p[76]; p -= 7; } --p[97]; ++p[90]; while (p[97]) { ++p[97]; --p[104]; p += 7; } ++p[104]; p += 14; } p[90] -= 2; while (p[90]) { ++p[90]; --p[83]; p -= 7; } while (p[85] != 0) p -= 7; p[91] += 6; while (p[91]) { while (p[91]) { while (p[78] != 0) p -= 7; ++p[84]; while (p[85] != 0) p += 7; --p[91]; } while (p[78] != 0) p -= 7; --p[84]; p -= 7; } while (p[92]) { p[94] += p[93]; p[93] = -p[94]+9; p[94] = 0; p += 7; } while (p[85] != 0) p -= 7; ++p[93]; while (p[92]) { ++p[94]; while (p[94]) { p[94] += p[93]-1; p[95] += p[93]; p[93] = p[94]; int loopcnt18; for (loopcnt18 = 10; loopcnt18 > 0; --loopcnt18) { p[96] += p[95]; p[97] += p[95]; p[95] = 1; if (p[96]) { --p[95]; p[96] = 0; } p[96] = 0; p[98] += p[95]; p[95] = p[97]-1; p[97] = 0; } p[94] = 0; p[95] = 0; ++p[97]; if (p[98]) { --p[97]; p[98] = 0; } p[98] = 0; p[100] += p[97]; p[93] -= 10*p[97]; p[94] += p[97]; p[97] = 0; } p += 7; } while (p[85] != 0) p -= 7; ++p[91]; while (p[91]) { while (p[91]) { while (p[78] != 0) p -= 7; ++p[84]; while (p[85] != 0) p += 7; --p[91]; } while (p[78] != 0) p -= 7; --p[84]; p -= 7; } ++p[94]; while (p[92] != 0) p += 7; ++p[101]; --p[94]; while (p[94]) { ++p[94]; --p[87]; p -= 7; } p[94] = 1; while (p[92]) { while (p[93]) { --p[101]; while (p[101]) { ++p[101]; --p[108]; p += 7; } p[101] = 1; --p[94]; ++p[100]; while (p[94]) { ++p[94]; --p[87]; p -= 7; } --p[93]; p[94] = 1; } --p[101]; while (p[101]) { ++p[101]; --p[108]; p += 7; } ++p[108]; p[101] = -1; while (p[101]) { ++p[101]; --p[94]; p -= 7; } ++p[108]; p += 14; } p[94] -= 2; while (p[94]) { ++p[94]; --p[101]; p += 7; } while (p[85] != 0) p -= 7; while (p[92]) { ++p[94]; while (p[94]) { p[94] += p[93]-1; p[95] += p[93]; p[93] = p[94]; int loopcnt19; for (loopcnt19 = 10; loopcnt19 > 0; --loopcnt19) { p[96] += p[95]; p[97] += p[95]; p[95] = 1; if (p[96]) { --p[95]; p[96] = 0; } p[96] = 0; p[98] += p[95]; p[95] = p[97]-1; p[97] = 0; } p[94] = 0; p[95] = 0; ++p[97]; if (p[98]) { --p[97]; p[98] = 0; } p[98] = 0; p[100] += p[97]; p[93] -= 10*p[97]; p[94] += p[97]; p[97] = 0; } p += 7; } while (p[85] != 0) p -= 7; ++p[90]; ++p[91]; while (p[91]) { while (p[91]) { while (p[78] != 0) p -= 7; ++p[84]; while (p[85] != 0) p += 7; --p[91]; } while (p[78] != 0) p -= 7; --p[84]; p -= 7; } --p[97]; ++p[90]; while (p[97]) { ++p[97]; --p[104]; p += 7; } p[97] = 1; while (p[99]) { while (p[100]) { --p[90]; while (p[90]) { ++p[90]; --p[83]; p -= 7; } ++p[93]; --p[97]; p[90] = 1; while (p[97]) { ++p[97]; --p[104]; p += 7; } --p[100]; p[97] = 1; } --p[90]; while (p[90]) { ++p[90]; --p[83]; p -= 7; } --p[104]; ++p[97]; while (p[104]) { ++p[104]; --p[111]; p += 7; } ++p[111]; p += 14; } p[97] -= 2; while (p[97]) { ++p[97]; --p[90]; p -= 7; } while (p[92] != 0) p -= 7; ++p[98]; while (p[98]) { while (p[98]) { while (p[85] != 0) p -= 7; ++p[91]; while (p[92] != 0) p += 7; --p[98]; } while (p[85] != 0) p -= 7; --p[91]; p -= 7; } while (p[99] != 0) p += 7; while (p[106] != 0) p += 7; ++p[119]; while (p[120] != 0) p -= 7; while (p[113] != 0) p -= 7; while (p[106] != 0) p -= 7; ++p[116]; while (p[113]) { --p[119]; while (p[119]) { ++p[119]; --p[126]; p += 7; } ++p[118]; p[119] = 1; while (p[113] != 0) p -= 7; while (p[106] != 0) p -= 7; ++p[117]; --p[118]; while (p[118]) { ++p[118]; --p[125]; p += 7; } p[118] = 1; while (p[113]) { --p[116]; while (p[116]) { ++p[116]; --p[109]; p -= 7; } p[116] = 1; p[115] += p[114]; p[117] += p[114]; p[114] = p[117]; p[117] = 0; while (p[115]) { --p[117]; while (p[117]) { ++p[117]; --p[124]; p += 7; } p[117] = 1; p[115] += p[114]; p[116] += p[114]; p[114] = p[116]; p[116] = 0; while (p[115]) { --p[118]; while (p[118]) { ++p[118]; --p[125]; p += 7; } --p[117]; p[118] = 1; ++p[114]; while (p[117]) { ++p[117]; --p[110]; p -= 7; } --p[115]; p[117] = 1; } --p[116]; while (p[116]) { ++p[116]; --p[109]; p -= 7; } --p[115]; p[116] = 1; } --p[117]; while (p[117]) { ++p[117]; --p[124]; p += 7; } ++p[124]; --p[125]; while (p[125]) { ++p[125]; --p[132]; p += 7; } ++p[132]; p += 14; } --p[118]; --p[119]; while (p[119]) { ++p[119]; --p[112]; p -= 7; } --p[124]; ++p[126]; while (p[124]) { ++p[124]; --p[117]; p -= 7; } --p[123]; while (p[123]) { ++p[123]; --p[116]; p -= 7; } ++p[130]; p += 14; } --p[116]; --p[119]; while (p[119]) { ++p[119]; --p[126]; p += 7; } while (p[106] != 0) p -= 7; while (p[113]) { ++p[115]; while (p[115]) { p[115] += p[114]-1; p[116] += p[114]; p[114] = p[115]; int loopcnt20; for (loopcnt20 = 10; loopcnt20 > 0; --loopcnt20) { p[117] += p[116]; p[118] += p[116]; p[116] = 1; if (p[117]) { --p[116]; p[117] = 0; } p[117] = 0; p[119] += p[116]; p[116] = p[118]-1; p[118] = 0; } p[115] = 0; p[116] = 0; ++p[118]; if (p[119]) { --p[118]; p[119] = 0; } p[119] = 0; p[121] += p[118]; p[114] -= 10*p[118]; p[115] += p[118]; p[118] = 0; } p += 7; } while (p[106] != 0) p -= 7; p[112] += 3; while (p[112]) { while (p[112]) { while (p[113] != 0) p += 7; ++p[119]; while (p[106] != 0) p -= 7; --p[112]; } while (p[113] != 0) p += 7; --p[119]; p += 7; } while (p[113]) { p[115] += p[114]; p[114] = -p[115]+9; p[115] = 0; p += 7; } while (p[106] != 0) p -= 7; ++p[114]; while (p[113]) { ++p[115]; while (p[115]) { p[115] += p[114]-1; p[116] += p[114]; p[114] = p[115]; int loopcnt21; for (loopcnt21 = 10; loopcnt21 > 0; --loopcnt21) { p[117] += p[116]; p[118] += p[116]; p[116] = 1; if (p[117]) { --p[116]; p[117] = 0; } p[117] = 0; p[119] += p[116]; p[116] = p[118]-1; p[118] = 0; } p[115] = 0; p[116] = 0; ++p[118]; if (p[119]) { --p[118]; p[119] = 0; } p[119] = 0; p[121] += p[118]; p[114] -= 10*p[118]; p[115] += p[118]; p[118] = 0; } p += 7; } while (p[106] != 0) p -= 7; ++p[112]; while (p[112]) { while (p[112]) { while (p[99] != 0) p -= 7; ++p[105]; while (p[106] != 0) p += 7; --p[112]; } while (p[99] != 0) p -= 7; --p[105]; p -= 7; } ++p[115]; while (p[113] != 0) p += 7; ++p[122]; --p[115]; while (p[115]) { ++p[115]; --p[108]; p -= 7; } p[115] = 1; while (p[113]) { while (p[114]) { --p[122]; while (p[122]) { ++p[122]; --p[129]; p += 7; } p[122] = 1; --p[115]; ++p[121]; while (p[115]) { ++p[115]; --p[108]; p -= 7; } --p[114]; p[115] = 1; } --p[122]; while (p[122]) { ++p[122]; --p[129]; p += 7; } ++p[129]; p[122] = -1; while (p[122]) { ++p[122]; --p[115]; p -= 7; } ++p[129]; p += 14; } p[115] -= 2; while (p[115]) { ++p[115]; --p[122]; p += 7; } while (p[106] != 0) p -= 7; while (p[113]) { ++p[115]; while (p[115]) { p[115] += p[114]-1; p[116] += p[114]; p[114] = p[115]; int loopcnt22; for (loopcnt22 = 10; loopcnt22 > 0; --loopcnt22) { p[117] += p[116]; p[118] += p[116]; p[116] = 1; if (p[117]) { --p[116]; p[117] = 0; } p[117] = 0; p[119] += p[116]; p[116] = p[118]-1; p[118] = 0; } p[115] = 0; p[116] = 0; ++p[118]; if (p[119]) { --p[118]; p[119] = 0; } p[119] = 0; p[121] += p[118]; p[114] -= 10*p[118]; p[115] += p[118]; p[118] = 0; } p += 7; } while (p[106] != 0) p -= 7; ++p[112]; ++p[111]; while (p[112]) { while (p[112]) { while (p[99] != 0) p -= 7; ++p[105]; while (p[106] != 0) p += 7; --p[112]; } while (p[99] != 0) p -= 7; --p[105]; p -= 7; } --p[118]; ++p[111]; while (p[118]) { ++p[118]; --p[125]; p += 7; } p[118] = 1; while (p[120]) { while (p[121]) { --p[111]; while (p[111]) { ++p[111]; --p[104]; p -= 7; } ++p[114]; --p[118]; p[111] = 1; while (p[118]) { ++p[118]; --p[125]; p += 7; } --p[121]; p[118] = 1; } --p[111]; while (p[111]) { ++p[111]; --p[104]; p -= 7; } --p[125]; ++p[118]; while (p[125]) { ++p[125]; --p[132]; p += 7; } ++p[132]; p += 14; } p[118] -= 2; while (p[118]) { ++p[118]; --p[111]; p -= 7; } while (p[113] != 0) p -= 7; ++p[119]; while (p[119]) { while (p[119]) { while (p[106] != 0) p -= 7; ++p[112]; while (p[113] != 0) p += 7; --p[119]; } while (p[106] != 0) p -= 7; --p[112]; p -= 7; } while (p[120] != 0) p += 7; while (p[127] != 0) p += 7; ++p[140]; while (p[141] != 0) p -= 7; while (p[134] != 0) p -= 7; while (p[127] != 0) p -= 7; ++p[137]; while (p[134]) { --p[140]; while (p[140]) { ++p[140]; --p[147]; p += 7; } ++p[139]; p[140] = 1; while (p[134] != 0) p -= 7; while (p[127] != 0) p -= 7; ++p[138]; --p[139]; while (p[139]) { ++p[139]; --p[146]; p += 7; } p[139] = 1; while (p[134]) { --p[137]; while (p[137]) { ++p[137]; --p[130]; p -= 7; } p[137] = 1; p[136] += p[135]; p[138] += p[135]; p[135] = p[138]; p[138] = 0; while (p[136]) { --p[138]; while (p[138]) { ++p[138]; --p[145]; p += 7; } p[138] = 1; p[136] += p[135]; p[137] += p[135]; p[135] = p[137]; p[137] = 0; while (p[136]) { --p[139]; while (p[139]) { ++p[139]; --p[146]; p += 7; } --p[138]; p[139] = 1; ++p[135]; while (p[138]) { ++p[138]; --p[131]; p -= 7; } --p[136]; p[138] = 1; } --p[137]; while (p[137]) { ++p[137]; --p[130]; p -= 7; } --p[136]; p[137] = 1; } --p[138]; while (p[138]) { ++p[138]; --p[145]; p += 7; } ++p[145]; --p[146]; while (p[146]) { ++p[146]; --p[153]; p += 7; } ++p[153]; p += 14; } --p[139]; --p[140]; while (p[140]) { ++p[140]; --p[133]; p -= 7; } --p[145]; ++p[147]; while (p[145]) { ++p[145]; --p[138]; p -= 7; } --p[144]; while (p[144]) { ++p[144]; --p[137]; p -= 7; } ++p[151]; p += 14; } --p[137]; --p[140]; while (p[140]) { ++p[140]; --p[147]; p += 7; } while (p[127] != 0) p -= 7; while (p[134]) { ++p[136]; while (p[136]) { p[136] += p[135]-1; p[137] += p[135]; p[135] = p[136]; int loopcnt23; for (loopcnt23 = 10; loopcnt23 > 0; --loopcnt23) { p[138] += p[137]; p[139] += p[137]; p[137] = 1; if (p[138]) { --p[137]; p[138] = 0; } p[138] = 0; p[140] += p[137]; p[137] = p[139]-1; p[139] = 0; } p[136] = 0; p[137] = 0; ++p[139]; if (p[140]) { --p[139]; p[140] = 0; } p[140] = 0; p[142] += p[139]; p[135] -= 10*p[139]; p[136] += p[139]; p[139] = 0; } p += 7; } while (p[127] != 0) p -= 7; p[133] += 3; while (p[133]) { while (p[133]) { while (p[134] != 0) p += 7; ++p[140]; while (p[127] != 0) p -= 7; --p[133]; } while (p[134] != 0) p += 7; --p[140]; p += 7; } while (p[134]) { p[136] += p[135]; p[135] = -p[136]+9; p[136] = 0; p += 7; } while (p[127] != 0) p -= 7; ++p[135]; while (p[134]) { ++p[136]; while (p[136]) { p[136] += p[135]-1; p[137] += p[135]; p[135] = p[136]; int loopcnt24; for (loopcnt24 = 10; loopcnt24 > 0; --loopcnt24) { p[138] += p[137]; p[139] += p[137]; p[137] = 1; if (p[138]) { --p[137]; p[138] = 0; } p[138] = 0; p[140] += p[137]; p[137] = p[139]-1; p[139] = 0; } p[136] = 0; p[137] = 0; ++p[139]; if (p[140]) { --p[139]; p[140] = 0; } p[140] = 0; p[142] += p[139]; p[135] -= 10*p[139]; p[136] += p[139]; p[139] = 0; } p += 7; } while (p[127] != 0) p -= 7; ++p[133]; while (p[133]) { while (p[133]) { while (p[120] != 0) p -= 7; ++p[126]; while (p[127] != 0) p += 7; --p[133]; } while (p[120] != 0) p -= 7; --p[126]; p -= 7; } ++p[136]; while (p[134] != 0) p += 7; --p[136]; ++p[143]; while (p[136]) { ++p[136]; --p[129]; p -= 7; } p[136] = 1; while (p[134]) { while (p[135]) { --p[143]; while (p[143]) { ++p[143]; --p[150]; p += 7; } p[143] = 1; --p[136]; ++p[142]; while (p[136]) { ++p[136]; --p[129]; p -= 7; } --p[135]; p[136] = 1; } --p[143]; while (p[143]) { ++p[143]; --p[150]; p += 7; } ++p[150]; p[143] = -1; while (p[143]) { ++p[143]; --p[136]; p -= 7; } ++p[150]; p += 14; } p[136] -= 2; while (p[136]) { ++p[136]; --p[143]; p += 7; } while (p[127] != 0) p -= 7; while (p[134]) { ++p[136]; while (p[136]) { p[136] += p[135]-1; p[137] += p[135]; p[135] = p[136]; int loopcnt25; for (loopcnt25 = 10; loopcnt25 > 0; --loopcnt25) { p[138] += p[137]; p[139] += p[137]; p[137] = 1; if (p[138]) { --p[137]; p[138] = 0; } p[138] = 0; p[140] += p[137]; p[137] = p[139]-1; p[139] = 0; } p[136] = 0; p[137] = 0; ++p[139]; if (p[140]) { --p[139]; p[140] = 0; } p[140] = 0; p[142] += p[139]; p[135] -= 10*p[139]; p[136] += p[139]; p[139] = 0; } p += 7; } while (p[127] != 0) p -= 7; ++p[132]; ++p[133]; while (p[133]) { while (p[133]) { while (p[120] != 0) p -= 7; ++p[126]; while (p[127] != 0) p += 7; --p[133]; } while (p[120] != 0) p -= 7; --p[126]; p -= 7; } --p[139]; ++p[132]; while (p[139]) { ++p[139]; --p[146]; p += 7; } p[139] = 1; while (p[141]) { while (p[142]) { --p[132]; while (p[132]) { ++p[132]; --p[125]; p -= 7; } ++p[135]; --p[139]; p[132] = 1; while (p[139]) { ++p[139]; --p[146]; p += 7; } --p[142]; p[139] = 1; } --p[132]; while (p[132]) { ++p[132]; --p[125]; p -= 7; } --p[146]; ++p[139]; while (p[146]) { ++p[146]; --p[153]; p += 7; } ++p[153]; p += 14; } p[139] -= 2; while (p[139]) { ++p[139]; --p[132]; p -= 7; } while (p[134] != 0) p -= 7; ++p[140]; while (p[140]) { while (p[140]) { while (p[127] != 0) p -= 7; ++p[133]; while (p[134] != 0) p += 7; --p[140]; } while (p[127] != 0) p -= 7; --p[133]; p -= 7; } while (p[141] != 0) p += 7; while (p[148] != 0) p += 7; ++p[161]; while (p[162] != 0) p -= 7; while (p[155] != 0) p -= 7; while (p[148] != 0) p -= 7; ++p[158]; while (p[155]) { --p[161]; while (p[161]) { ++p[161]; --p[168]; p += 7; } ++p[160]; p[161] = 1; while (p[155] != 0) p -= 7; while (p[148] != 0) p -= 7; ++p[159]; --p[160]; while (p[160]) { ++p[160]; --p[167]; p += 7; } p[160] = 1; while (p[155]) { --p[158]; while (p[158]) { ++p[158]; --p[151]; p -= 7; } p[158] = 1; p[157] += p[156]; p[159] += p[156]; p[156] = p[159]; p[159] = 0; while (p[157]) { --p[159]; while (p[159]) { ++p[159]; --p[166]; p += 7; } p[159] = 1; p[157] += p[156]; p[158] += p[156]; p[156] = p[158]; p[158] = 0; while (p[157]) { --p[160]; while (p[160]) { ++p[160]; --p[167]; p += 7; } --p[159]; p[160] = 1; ++p[156]; while (p[159]) { ++p[159]; --p[152]; p -= 7; } --p[157]; p[159] = 1; } --p[158]; while (p[158]) { ++p[158]; --p[151]; p -= 7; } --p[157]; p[158] = 1; } --p[159]; while (p[159]) { ++p[159]; --p[166]; p += 7; } ++p[166]; --p[167]; while (p[167]) { ++p[167]; --p[174]; p += 7; } ++p[174]; p += 14; } --p[160]; --p[161]; while (p[161]) { ++p[161]; --p[154]; p -= 7; } --p[166]; ++p[168]; while (p[166]) { ++p[166]; --p[159]; p -= 7; } --p[165]; while (p[165]) { ++p[165]; --p[158]; p -= 7; } ++p[172]; p += 14; } --p[161]; --p[158]; while (p[161]) { ++p[161]; --p[168]; p += 7; } while (p[148] != 0) p -= 7; while (p[155]) { ++p[157]; while (p[157]) { p[157] += p[156]-1; p[158] += p[156]; p[156] = p[157]; int loopcnt26; for (loopcnt26 = 10; loopcnt26 > 0; --loopcnt26) { p[159] += p[158]; p[160] += p[158]; p[158] = 1; if (p[159]) { --p[158]; p[159] = 0; } p[159] = 0; p[161] += p[158]; p[158] = p[160]-1; p[160] = 0; } p[157] = 0; p[158] = 0; ++p[160]; if (p[161]) { --p[160]; p[161] = 0; } p[161] = 0; p[163] += p[160]; p[156] -= 10*p[160]; p[157] += p[160]; p[160] = 0; } p += 7; } while (p[148] != 0) p -= 7; p[154] += 6; while (p[154]) { while (p[154]) { while (p[141] != 0) p -= 7; ++p[147]; while (p[148] != 0) p += 7; --p[154]; } while (p[141] != 0) p -= 7; --p[147]; p -= 7; } ++p[153]; p[154] = 8; while (p[154]) { while (p[154]) { while (p[141] != 0) p -= 7; ++p[147]; while (p[148] != 0) p += 7; --p[154]; } while (p[141] != 0) p -= 7; --p[147]; p -= 7; } --p[160]; ++p[153]; while (p[160]) { ++p[160]; --p[167]; p += 7; } p[160] = 1; while (p[162]) { while (p[163]) { --p[153]; while (p[153]) { ++p[153]; --p[146]; p -= 7; } ++p[156]; --p[160]; p[153] = 1; while (p[160]) { ++p[160]; --p[167]; p += 7; } --p[163]; p[160] = 1; } --p[153]; while (p[153]) { ++p[153]; --p[146]; p -= 7; } --p[167]; ++p[160]; while (p[167]) { ++p[167]; --p[174]; p += 7; } ++p[174]; p += 14; } p[160] -= 2; while (p[160]) { ++p[160]; --p[153]; p -= 7; } while (p[155] != 0) p -= 7; p[161] += 11; while (p[161]) { while (p[161]) { while (p[162] != 0) p += 7; ++p[168]; while (p[155] != 0) p -= 7; --p[161]; } while (p[162] != 0) p += 7; --p[168]; p += 7; } ++p[160]; p[161] = 10; while (p[161]) { while (p[161]) { while (p[148] != 0) p -= 7; ++p[154]; while (p[155] != 0) p += 7; --p[161]; } while (p[148] != 0) p -= 7; --p[154]; p -= 7; } ++p[160]; --p[167]; while (p[167]) { ++p[167]; --p[174]; p += 7; } p[167] = 1; while (p[169]) { while (p[170]) { --p[160]; while (p[160]) { ++p[160]; --p[153]; p -= 7; } ++p[163]; --p[167]; p[160] = 1; while (p[167]) { ++p[167]; --p[174]; p += 7; } --p[170]; p[167] = 1; } --p[160]; while (p[160]) { ++p[160]; --p[153]; p -= 7; } --p[174]; ++p[167]; while (p[174]) { ++p[174]; --p[181]; p += 7; } ++p[181]; p += 14; } p[167] -= 2; while (p[167]) { ++p[167]; --p[160]; p -= 7; } while (p[162] != 0) p -= 7; p[168] += 13; while (p[168]) { while (p[168]) { while (p[169] != 0) p += 7; ++p[175]; while (p[162] != 0) p -= 7; --p[168]; } while (p[169] != 0) p += 7; --p[175]; p += 7; } p[168] = 12; ++p[167]; while (p[168]) { while (p[168]) { while (p[155] != 0) p -= 7; ++p[161]; while (p[162] != 0) p += 7; --p[168]; } while (p[155] != 0) p -= 7; --p[161]; p -= 7; } --p[174]; ++p[167]; while (p[174]) { ++p[174]; --p[181]; p += 7; } p[174] = 1; while (p[176]) { while (p[177]) { --p[167]; while (p[167]) { ++p[167]; --p[160]; p -= 7; } ++p[170]; --p[174]; p[167] = 1; while (p[174]) { ++p[174]; --p[181]; p += 7; } --p[177]; p[174] = 1; } --p[167]; while (p[167]) { ++p[167]; --p[160]; p -= 7; } --p[181]; ++p[174]; while (p[181]) { ++p[181]; --p[188]; p += 7; } ++p[188]; p += 14; } p[174] -= 2; while (p[174]) { ++p[174]; --p[167]; p -= 7; } while (p[169] != 0) p -= 7; p[175] += 2; while (p[175]) { while (p[175]) { while (p[162] != 0) p -= 7; ++p[168]; while (p[169] != 0) p += 7; --p[175]; } while (p[162] != 0) p -= 7; --p[168]; p -= 7; } ++p[178]; while (p[176] != 0) p += 7; ++p[185]; --p[178]; while (p[178]) { ++p[178]; --p[171]; p -= 7; } p[178] = 1; while (p[176]) { while (p[177]) { --p[185]; while (p[185]) { ++p[185]; --p[192]; p += 7; } p[185] = 1; --p[178]; ++p[184]; while (p[178]) { ++p[178]; --p[171]; p -= 7; } --p[177]; p[178] = 1; } --p[185]; while (p[185]) { ++p[185]; --p[192]; p += 7; } ++p[192]; p[185] = -1; while (p[185]) { ++p[185]; --p[178]; p -= 7; } ++p[192]; p += 14; } p[178] -= 2; while (p[178]) { ++p[178]; --p[185]; p += 7; } while (p[169] != 0) p -= 7; while (p[176]) { ++p[178]; while (p[178]) { p[178] += p[177]-1; p[179] += p[177]; p[177] = p[178]; int loopcnt27; for (loopcnt27 = 10; loopcnt27 > 0; --loopcnt27) { p[180] += p[179]; p[181] += p[179]; p[179] = 1; if (p[180]) { --p[179]; p[180] = 0; } p[180] = 0; p[182] += p[179]; p[179] = p[181]-1; p[181] = 0; } p[178] = 0; p[179] = 0; ++p[181]; if (p[182]) { --p[181]; p[182] = 0; } p[182] = 0; p[184] += p[181]; p[177] -= 10*p[181]; p[178] += p[181]; p[181] = 0; } p += 7; } while (p[169] != 0) p -= 7; ++p[178]; while (p[176] != 0) p += 7; ++p[185]; --p[178]; while (p[178]) { ++p[178]; --p[171]; p -= 7; } p[178] = 1; while (p[176]) { while (p[177]) { --p[185]; while (p[185]) { ++p[185]; --p[192]; p += 7; } p[185] = 1; --p[178]; ++p[184]; while (p[178]) { ++p[178]; --p[171]; p -= 7; } --p[177]; p[178] = 1; } --p[185]; while (p[185]) { ++p[185]; --p[192]; p += 7; } ++p[192]; p[185] = -1; while (p[185]) { ++p[185]; --p[178]; p -= 7; } ++p[192]; p += 14; } p[178] -= 2; while (p[178]) { ++p[178]; --p[185]; p += 7; } while (p[169] != 0) p -= 7; while (p[176]) { ++p[178]; while (p[178]) { p[178] += p[177]-1; p[179] += p[177]; p[177] = p[178]; int loopcnt28; for (loopcnt28 = 10; loopcnt28 > 0; --loopcnt28) { p[180] += p[179]; p[181] += p[179]; p[179] = 1; if (p[180]) { --p[179]; p[180] = 0; } p[180] = 0; p[182] += p[179]; p[179] = p[181]-1; p[181] = 0; } p[178] = 0; p[179] = 0; ++p[181]; if (p[182]) { --p[181]; p[182] = 0; } p[182] = 0; p[184] += p[181]; p[177] -= 10*p[181]; p[178] += p[181]; p[181] = 0; } p += 7; } while (p[169] != 0) p -= 7; while (p[176] != 0) p += 7; while (p[169]) { ++p[171]; while (p[171]) { p[171] += p[170]-1; p[172] += p[170]; p[170] = p[171]; int loopcnt29; for (loopcnt29 = 6; loopcnt29 > 0; --loopcnt29) { p[173] += p[172]; p[174] += p[172]; p[172] = 1; if (p[173]) { --p[172]; p[173] = 0; } p[173] = 0; p[175] += p[172]; p[172] = p[174]-1; p[174] = 0; } p[171] = 0; p[172] = 0; ++p[174]; if (p[175]) { --p[174]; p[175] = 0; } p[175] = 0; p[168] += p[174]; p[170] -= 6*p[174]; p[171] += p[174]; p[174] = 0; } p[163] += 10*p[170]; p[170] = p[168]; p[168] = 0; p -= 7; } p[170] = 0; while (p[176] != 0) p += 7; while (p[169]) { p[171] += 8; p[170] += 6*p[171]; p[171] = 0; PUTC(p[170]); p -= 7; }
73 51 26 85 87 65 95 90 09 03 28 08
075119