2016-Problem11.go 42.8 KB
Newer Older
Etienne Renault's avatar
Etienne Renault committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
//
//	Package - transpiled by c4go
//
//	If you have found any issues, please raise an issue at:
//	https://github.com/Konstantin8105/c4go/
//

package main

// inputs - transpiled function from  /tmp/2016-Problem11.c:9
var inputs []int = []int{2, 10, 9, 5, 3, 4, 1, 7, 8, 6}

// a2137325734 - transpiled function from  /tmp/2016-Problem11.c:188
var a2137325734 int = 33

// a1722860169 - transpiled function from  /tmp/2016-Problem11.c:189
var a1722860169 int = 34

// a414008896 - transpiled function from  /tmp/2016-Problem11.c:190
var a414008896 int = 10

// a1540279308 - transpiled function from  /tmp/2016-Problem11.c:191
var a1540279308 int = 2

// a1393627342 - transpiled function from  /tmp/2016-Problem11.c:192
var a1393627342 int = 36

// a642369719 - transpiled function from  /tmp/2016-Problem11.c:193
var a642369719 int = 32

// a1150573588 - transpiled function from  /tmp/2016-Problem11.c:194
var a1150573588 int = 36

// a1920560082 - transpiled function from  /tmp/2016-Problem11.c:195
var a1920560082 int = 12

// a615035064 - transpiled function from  /tmp/2016-Problem11.c:196
var a615035064 int = 36

// a1211586799 - transpiled function from  /tmp/2016-Problem11.c:197
var a1211586799 int = 35

// a2018753675 - transpiled function from  /tmp/2016-Problem11.c:198
var a2018753675 int = 12

// a1979594534 - transpiled function from  /tmp/2016-Problem11.c:199
var a1979594534 int = 13

// a1207265235 - transpiled function from  /tmp/2016-Problem11.c:200
var a1207265235 int = 34

// a641428659 - transpiled function from  /tmp/2016-Problem11.c:201
var a641428659 int = 10

// a409889492 - transpiled function from  /tmp/2016-Problem11.c:202
var a409889492 int = 6

// a1278053282 - transpiled function from  /tmp/2016-Problem11.c:203
var a1278053282 int = 13

// a1931851808 - transpiled function from  /tmp/2016-Problem11.c:204
var a1931851808 int = 10

// a1030589677 - transpiled function from  /tmp/2016-Problem11.c:205
var a1030589677 int = 34

// a1640511277 - transpiled function from  /tmp/2016-Problem11.c:206
var a1640511277 int = 7

// a536590795 - transpiled function from  /tmp/2016-Problem11.c:207
var a536590795 int = 35

// a1992404643 - transpiled function from  /tmp/2016-Problem11.c:208
var a1992404643 int = 34

// a1991122068 - transpiled function from  /tmp/2016-Problem11.c:209
var a1991122068 int = 35

// a1144518790 - transpiled function from  /tmp/2016-Problem11.c:210
var a1144518790 int = 32

// a136296760 - transpiled function from  /tmp/2016-Problem11.c:211
var a136296760 int = 33

// a1249345268 - transpiled function from  /tmp/2016-Problem11.c:212
var a1249345268 int = 34

// a829234386 - transpiled function from  /tmp/2016-Problem11.c:213
var a829234386 int = 3

// a980532045 - transpiled function from  /tmp/2016-Problem11.c:214
var a980532045 int = 36

// cf - transpiled function from  /tmp/2016-Problem11.c:215
var cf int = 1

// a1265514289 - transpiled function from  /tmp/2016-Problem11.c:216
var a1265514289 int = 6

// a725363116 - transpiled function from  /tmp/2016-Problem11.c:217
var a725363116 int = 10

// a531443452 - transpiled function from  /tmp/2016-Problem11.c:218
var a531443452 int = 9

// a1653973487 - transpiled function from  /tmp/2016-Problem11.c:219
var a1653973487 int = 14

// a1817180191 - transpiled function from  /tmp/2016-Problem11.c:220
var a1817180191 int = 32

// a1535647353 - transpiled function from  /tmp/2016-Problem11.c:221
var a1535647353 int = 16

// a11109425 - transpiled function from  /tmp/2016-Problem11.c:222
var a11109425 int = 33

// a2014931874 - transpiled function from  /tmp/2016-Problem11.c:223
var a2014931874 int = 11

// a1757719823 - transpiled function from  /tmp/2016-Problem11.c:224
var a1757719823 int = 35

// __VERIFIER_error - transpiled function from  /tmp/2016-Problem11.c:6
func __VERIFIER_error(n int) {
}

// errorCheck - transpiled function from  /tmp/2016-Problem11.c:227
func errorCheck() {
	if a136296760 == 34 && a829234386 == 7 && a1207265235 == 35 {
		// inputs
		cf = 0
		__VERIFIER_error(0)
	}
	if a11109425 == 35 && a414008896 == 10 && a1207265235 == 36 {
		cf = 0
		__VERIFIER_error(1)
	}
	if a409889492 == 3 && a1249345268 == 32 && a1207265235 == 32 {
		cf = 0
		__VERIFIER_error(2)
	}
	if a1991122068 == 36 && a2018753675 == 14 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(3)
	}
	if a1030589677 == 33 && a1535647353 == 16 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(4)
	}
	if a1640511277 == 4 && a1249345268 == 33 && a1207265235 == 32 {
		cf = 0
		__VERIFIER_error(5)
	}
	if a1920560082 == 11 && a2018753675 == 12 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(6)
	}
	if a1265514289 == 6 && a2018753675 == 11 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(7)
	}
	if a1265514289 == 3 && a1535647353 == 12 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(8)
	}
	if a1030589677 == 32 && a829234386 == 5 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(9)
	}
	if a136296760 == 32 && a829234386 == 7 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(10)
	}
	if a1653973487 == 16 && a1249345268 == 35 && a1207265235 == 32 {
		cf = 0
		__VERIFIER_error(11)
	}
	if a1278053282 == 14 && a414008896 == 14 && a1207265235 == 36 {
		cf = 0
		__VERIFIER_error(12)
	}
	if a1920560082 == 8 && a2018753675 == 12 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(13)
	}
	if a1992404643 == 33 && a1535647353 == 10 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(14)
	}
	if a1030589677 == 32 && a1535647353 == 16 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(15)
	}
	if a1722860169 == 36 && a1249345268 == 34 && a1207265235 == 32 {
		cf = 0
		__VERIFIER_error(16)
	}
	if a409889492 == 6 && a2018753675 == 10 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(17)
	}
	if a536590795 == 33 && a1535647353 == 11 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(18)
	}
	if a409889492 == 5 && a1249345268 == 32 && a1207265235 == 32 {
		cf = 0
		__VERIFIER_error(19)
	}
	if a531443452 == 13 && a1535647353 == 17 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(20)
	}
	if a641428659 == 10 && a829234386 == 6 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(21)
	}
	if a642369719 == 34 && a829234386 == 9 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(22)
	}
	if a1979594534 == 11 && a2018753675 == 13 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(23)
	}
	if a1144518790 == 33 && a1535647353 == 15 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(24)
	}
	if a136296760 == 36 && a829234386 == 7 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(25)
	}
	if a1540279308 == 1 && a414008896 == 15 && a1207265235 == 36 {
		cf = 0
		__VERIFIER_error(26)
	}
	if a980532045 == 32 && a2018753675 == 7 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(27)
	}
	if a725363116 == 9 && a829234386 == 8 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(28)
	}
	if a1265514289 == 10 && a1535647353 == 12 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(29)
	}
	if a1393627342 == 36 && a829234386 == 3 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(30)
	}
	if a1150573588 == 35 && a1535647353 == 13 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(31)
	}
	if a725363116 == 6 && a829234386 == 8 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(32)
	}
	if a2137325734 == 32 && a1249345268 == 36 && a1207265235 == 32 {
		cf = 0
		__VERIFIER_error(33)
	}
	if a1979594534 == 14 && a2018753675 == 13 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(34)
	}
	if a409889492 == 1 && a1249345268 == 32 && a1207265235 == 32 {
		cf = 0
		__VERIFIER_error(35)
	}
	if a536590795 == 36 && a1535647353 == 11 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(36)
	}
	if a1265514289 == 5 && a2018753675 == 11 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(37)
	}
	if a1265514289 == 8 && a1535647353 == 12 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(38)
	}
	if a1265514289 == 6 && a1535647353 == 12 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(39)
	}
	if a11109425 == 32 && a414008896 == 10 && a1207265235 == 36 {
		cf = 0
		__VERIFIER_error(40)
	}
	if a1979594534 == 16 && a2018753675 == 13 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(41)
	}
	if a1211586799 == 35 && a414008896 == 12 && a1207265235 == 36 {
		cf = 0
		__VERIFIER_error(42)
	}
	if a725363116 == 5 && a829234386 == 8 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(43)
	}
	if a1979594534 == 12 && a2018753675 == 13 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(44)
	}
	if a1722860169 == 33 && a1249345268 == 34 && a1207265235 == 32 {
		cf = 0
		__VERIFIER_error(45)
	}
	if a409889492 == 3 && a2018753675 == 10 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(46)
	}
	if a1265514289 == 4 && a2018753675 == 11 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(47)
	}
	if a136296760 == 34 && a829234386 == 10 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(48)
	}
	if a136296760 == 35 && a829234386 == 10 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(49)
	}
	if a1278053282 == 10 && a414008896 == 14 && a1207265235 == 36 {
		cf = 0
		__VERIFIER_error(50)
	}
	if a1817180191 == 36 && a1535647353 == 14 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(51)
	}
	if a1920560082 == 14 && a2018753675 == 12 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(52)
	}
	if a1265514289 == 9 && a1535647353 == 12 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(53)
	}
	if a1920560082 == 10 && a2018753675 == 12 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(54)
	}
	if a1265514289 == 7 && a1535647353 == 12 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(55)
	}
	if a1030589677 == 35 && a829234386 == 5 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(56)
	}
	if a1144518790 == 34 && a1535647353 == 15 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(57)
	}
	if a1640511277 == 2 && a1249345268 == 33 && a1207265235 == 32 {
		cf = 0
		__VERIFIER_error(58)
	}
	if a1991122068 == 32 && a2018753675 == 9 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(59)
	}
	if a409889492 == 1 && a2018753675 == 10 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(60)
	}
	if a1979594534 == 10 && a2018753675 == 13 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(61)
	}
	if a1757719823 == 35 && a414008896 == 16 && a1207265235 == 36 {
		cf = 0
		__VERIFIER_error(62)
	}
	if a1278053282 == 11 && a414008896 == 14 && a1207265235 == 36 {
		cf = 0
		__VERIFIER_error(63)
	}
	if a1991122068 == 35 && a2018753675 == 9 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(64)
	}
	if a641428659 == 7 && a829234386 == 6 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(65)
	}
	if a1150573588 == 36 && a1535647353 == 13 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(66)
	}
	if a1817180191 == 35 && a1535647353 == 14 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(67)
	}
	if a642369719 == 33 && a829234386 == 9 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(68)
	}
	if a1150573588 == 33 && a1535647353 == 13 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(69)
	}
	if a531443452 == 12 && a1535647353 == 17 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(70)
	}
	if a2137325734 == 34 && a1249345268 == 36 && a1207265235 == 32 {
		cf = 0
		__VERIFIER_error(71)
	}
	if a2014931874 == 12 && a414008896 == 13 && a1207265235 == 36 {
		cf = 0
		__VERIFIER_error(72)
	}
	if a1931851808 == 13 && a414008896 == 17 && a1207265235 == 36 {
		cf = 0
		__VERIFIER_error(73)
	}
	if a1030589677 == 36 && a829234386 == 5 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(74)
	}
	if a725363116 == 11 && a829234386 == 8 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(75)
	}
	if a1211586799 == 32 && a414008896 == 11 && a1207265235 == 36 {
		cf = 0
		__VERIFIER_error(76)
	}
	if a1030589677 == 36 && a1535647353 == 16 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(77)
	}
	if a2014931874 == 6 && a414008896 == 13 && a1207265235 == 36 {
		cf = 0
		__VERIFIER_error(78)
	}
	if a1757719823 == 32 && a414008896 == 16 && a1207265235 == 36 {
		cf = 0
		__VERIFIER_error(79)
	}
	if a136296760 == 33 && a829234386 == 7 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(80)
	}
	if a641428659 == 4 && a829234386 == 6 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(81)
	}
	if a1757719823 == 33 && a414008896 == 16 && a1207265235 == 36 {
		cf = 0
		__VERIFIER_error(82)
	}
	if a136296760 == 33 && a829234386 == 10 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(83)
	}
	if a1991122068 == 32 && a2018753675 == 14 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(84)
	}
	if a980532045 == 35 && a2018753675 == 7 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(85)
	}
	if a531443452 == 7 && a1535647353 == 17 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(86)
	}
	if a1817180191 == 34 && a1535647353 == 14 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(87)
	}
	if a1278053282 == 15 && a414008896 == 14 && a1207265235 == 36 {
		cf = 0
		__VERIFIER_error(88)
	}
	if a980532045 == 34 && a2018753675 == 7 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(89)
	}
	if a531443452 == 10 && a1535647353 == 17 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(90)
	}
	if a536590795 == 32 && a2018753675 == 8 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(91)
	}
	if a1030589677 == 35 && a1535647353 == 16 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(92)
	}
	if a536590795 == 34 && a2018753675 == 8 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(93)
	}
	if a136296760 == 35 && a829234386 == 7 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(94)
	}
	if a1931851808 == 8 && a414008896 == 17 && a1207265235 == 36 {
		cf = 0
		__VERIFIER_error(95)
	}
	if a1030589677 == 34 && a1535647353 == 16 && a1207265235 == 33 {
		cf = 0
		__VERIFIER_error(96)
	}
	if a11109425 == 33 && a414008896 == 10 && a1207265235 == 36 {
		cf = 0
		__VERIFIER_error(97)
	}
	if a642369719 == 32 && a829234386 == 9 && a1207265235 == 35 {
		cf = 0
		__VERIFIER_error(98)
	}
	if a1979594534 == 13 && a2018753675 == 13 && a1207265235 == 34 {
		cf = 0
		__VERIFIER_error(99)
	}
}

// calculate_outputm42 - transpiled function from  /tmp/2016-Problem11.c:629
func calculate_outputm42(input int) {
	if a1207265235 == 33 && (a1535647353 == 12 && (cf == 1 && input == 5 && a1265514289 == 4)) {
		cf = 0
		a1211586799 = 34
		a1207265235 = 36
		a414008896 = 12
	}
	if a1535647353 == 12 && (cf == 1 && input == 9) && a1207265235 == 33 && a1265514289 == 4 {
		//;//printf("%d\n", 20); fflush(stdout);
		cf = 0
		a1817180191 = 32
		a1535647353 = 14
	}
	if input == 10 && (a1207265235 == 33 && (a1265514289 == 4 && cf == 1 && a1535647353 == 12)) {
		//;//printf("%d\n", 26); fflush(stdout);
		cf = 0
		a1207265235 = 34
		a2018753675 = 13
		a1979594534 = 17
	}
	if a1207265235 == 33 && (a1535647353 == 12 && (a1265514289 == 4 && cf == 1)) && input == 4 {
		//;//printf("%d\n", 16); fflush(stdout);
		cf = 0
		a2018753675 = 10
		a1207265235 = 34
		a409889492 = 1
	}
}

// calculate_outputm43 - transpiled function from  /tmp/2016-Problem11.c:655
func calculate_outputm43(input int) {
	if a1535647353 == 12 && (input == 2 && (a1207265235 == 33 && cf == 1)) && a1265514289 == 5 {
		//;//printf("%d\n", 15); fflush(stdout);
		cf = 0
		a1207265235 = 32
		a1249345268 = 35
		a1653973487 = 15
	}
	if input == 3 && (cf == 1 && a1265514289 == 5 && a1207265235 == 33) && a1535647353 == 12 {
		//;//printf("%d\n", 22); fflush(stdout);
		cf = 0
		a1249345268 = 34
		a1207265235 = 32
		a1722860169 = 32
	}
	if a1207265235 == 33 && (a1535647353 == 12 && (a1265514289 == 5 && (input == 5 && cf == 1))) {
		//;//printf("%d\n", 26); fflush(stdout);
		cf = 0
		a1265514289 = 4
	}
	if a1535647353 == 12 && (a1207265235 == 33 && (input == 7 && cf == 1)) && a1265514289 == 5 {
		//;//printf("%d\n", 17); fflush(stdout);
		cf = 0
		a1757719823 = 35
		a1207265235 = 36
		a414008896 = 16
	}
}

// calculate_outputm3 - transpiled function from  /tmp/2016-Problem11.c:680
func calculate_outputm3(input int) {
	if a1265514289 == 4 && cf == 1 {
		//;//printf("%d\n", 23); fflush(stdout);
		calculate_outputm42(input)
	}
	if a1265514289 == 5 && cf == 1 {
		calculate_outputm43(input)
	}
}

// calculate_outputm50 - transpiled function from  /tmp/2016-Problem11.c:688
func calculate_outputm50(input int) {
	if a1150573588 == 32 && (a1535647353 == 13 && cf == 1) && a1207265235 == 33 && input == 6 {
		cf = 0
		a414008896 = 13
		a1207265235 = 36
		a2014931874 = 11
	}
	if a1207265235 == 33 && (a1150573588 == 32 && (a1535647353 == 13 && cf == 1) && input == 7) {
		//;//printf("%d\n", 24); fflush(stdout);
		cf = 0
		a1249345268 = 33
		a1207265235 = 32
		a1640511277 = 5
	}
	if cf == 1 && input == 5 && a1535647353 == 13 && a1207265235 == 33 && a1150573588 == 32 {
		//;//printf("%d\n", 17); fflush(stdout);
		cf = 0
		a1207265235 = 32
		a1249345268 = 34
		a1722860169 = 36
	}
}

// calculate_outputm4 - transpiled function from  /tmp/2016-Problem11.c:709
func calculate_outputm4(input int) {
	if a1150573588 == 32 && cf == 1 {
		//;//printf("%d\n", 22); fflush(stdout);
		calculate_outputm50(input)
	}
}

// calculate_outputm53 - transpiled function from  /tmp/2016-Problem11.c:714
func calculate_outputm53(input int) {
	if input == 6 && (a1535647353 == 14 && (a1207265235 == 33 && (a1817180191 == 33 && cf == 1))) {
		cf = 0
		a1207265235 = 35
		a642369719 = 36
		a829234386 = 9
	}
	if a1207265235 == 33 && (a1817180191 == 33 && (input == 4 && cf == 1) && a1535647353 == 14) {
		//;//printf("%d\n", 15); fflush(stdout);
		cf = 0
		a1150573588 = 35
		a1535647353 = 13
	}
}

// calculate_outputm54 - transpiled function from  /tmp/2016-Problem11.c:728
func calculate_outputm54(input int) {
	if input == 2 && (cf == 1 && a1535647353 == 14 && a1817180191 == 32 && a1207265235 == 33) {
		//;//printf("%d\n", 20); fflush(stdout);
		cf = 0
		a1207265235 = 32
		a1249345268 = 36
		a2137325734 = 33
	}
	if input == 6 && (a1207265235 == 33 && cf == 1) && a1535647353 == 14 && a1817180191 == 32 {
		//;//printf("%d\n", 19); fflush(stdout);
		cf = 0
		a1207265235 = 36
		a11109425 = 33
		a414008896 = 10
	}
}

// calculate_outputm5 - transpiled function from  /tmp/2016-Problem11.c:743
func calculate_outputm5(input int) {
	if a1817180191 == 33 && cf == 1 {
		//;//printf("%d\n", 19); fflush(stdout);
		calculate_outputm53(input)
	}
	if a1817180191 == 32 && cf == 1 {
		calculate_outputm54(input)
	}
}

// calculate_outputm70 - transpiled function from  /tmp/2016-Problem11.c:751
func calculate_outputm70(input int) {
	if a1207265235 == 32 && (cf == 1 && a1249345268 == 33 && a1640511277 == 3) && input == 2 {
		cf = 0
		a1249345268 = 35
		a1653973487 = 15
	}
	if input == 7 && (a1207265235 == 32 && (a1249345268 == 33 && (cf == 1 && a1640511277 == 3))) {
		//;//printf("%d\n", 22); fflush(stdout);
		cf = 0
		a1249345268 = 35
		a1653973487 = 15
	}
	if input == 8 && (cf == 1 && a1207265235 == 32 && a1249345268 == 33 && a1640511277 == 3) {
		//;//printf("%d\n", 22); fflush(stdout);
		cf = 0
		a1249345268 = 35
		a1653973487 = 15
	}
	if a1207265235 == 32 && (a1640511277 == 3 && (a1249345268 == 33 && cf == 1)) && input == 3 {
		//;//printf("%d\n", 24); fflush(stdout);
		cf = 0
		a829234386 = 8
		a1207265235 = 35
		a725363116 = 11
	}
}

// calculate_outputm72 - transpiled function from  /tmp/2016-Problem11.c:775
func calculate_outputm72(input int) {
	if a1207265235 == 32 && (a1249345268 == 33 && cf == 1) && a1640511277 == 5 && input == 7 {
		//;//printf("%d\n", 19); fflush(stdout);
		cf = 0
		a1393627342 = 34
		a1207265235 = 35
		a829234386 = 3
	}
	if a1249345268 == 33 && (a1640511277 == 5 && (a1207265235 == 32 && cf == 1) && input == 9) {
		//;//printf("%d\n", 23); fflush(stdout);
		cf = 0
		a1640511277 = 3
	}
}

// calculate_outputm73 - transpiled function from  /tmp/2016-Problem11.c:788
func calculate_outputm73(input int) {
	if a1640511277 == 8 && (input == 3 && (cf == 1 && a1249345268 == 33) && a1207265235 == 32) {
		//;//printf("%d\n", 23); fflush(stdout);
		cf = 0
		a1640511277 = 3
	}
	if cf == 1 && a1640511277 == 8 && a1207265235 == 32 && a1249345268 == 33 && input == 9 {
		//;//printf("%d\n", 19); fflush(stdout);
		cf = 0
		a414008896 = 17
		a1207265235 = 36
		a1931851808 = 13
	}
}

// calculate_outputm9 - transpiled function from  /tmp/2016-Problem11.c:801
func calculate_outputm9(input int) {
	if a1640511277 == 3 && cf == 1 {
		//;//printf("%d\n", 17); fflush(stdout);
		calculate_outputm70(input)
	}
	if cf == 1 && a1640511277 == 5 {
		calculate_outputm72(input)
	}
	if cf == 1 && a1640511277 == 8 {
		calculate_outputm73(input)
	}
}

// calculate_outputm75 - transpiled function from  /tmp/2016-Problem11.c:812
func calculate_outputm75(input int) {
	if input == 10 && cf == 1 && a409889492 == 2 && a1249345268 == 32 && a1207265235 == 32 {
		cf = 0
		a1535647353 = 12
		a1207265235 = 33
		a1265514289 = 4
	}
}

// calculate_outputm10 - transpiled function from  /tmp/2016-Problem11.c:821
func calculate_outputm10(input int) {
	if cf == 1 && a409889492 == 2 {
		//;//printf("%d\n", 17); fflush(stdout);
		calculate_outputm75(input)
	}
}

// calculate_outputm79 - transpiled function from  /tmp/2016-Problem11.c:826
func calculate_outputm79(input int) {
	if a1207265235 == 32 && (input == 8 && cf == 1 && a1249345268 == 34 && a1722860169 == 32) {
		cf = 0
		a2018753675 = 12
		a1207265235 = 34
		a1920560082 = 13
	}
	if a1249345268 == 34 && cf == 1 && a1722860169 == 32 && a1207265235 == 32 && input == 7 {
		//;//printf("%d\n", 18); fflush(stdout);
		cf = 0
		a1207265235 = 35
		a829234386 = 8
		a725363116 = 6
	}
}

// calculate_outputm11 - transpiled function from  /tmp/2016-Problem11.c:841
func calculate_outputm11(input int) {
	if a1722860169 == 32 && cf == 1 {
		//;//printf("%d\n", 17); fflush(stdout);
		calculate_outputm79(input)
	}
}

// calculate_outputm81 - transpiled function from  /tmp/2016-Problem11.c:846
func calculate_outputm81(input int) {
	if input == 4 && (a1207265235 == 32 && cf == 1 && a1653973487 == 15) && a1249345268 == 35 {
		cf = 0
		a1211586799 = 33
		a1207265235 = 36
		a414008896 = 12
	}
	if a1249345268 == 35 && (input == 6 && (cf == 1 && a1207265235 == 32 && a1653973487 == 15)) {
		//;//printf("%d\n", 22); fflush(stdout);
		cf = 0
		a1249345268 = 33
		a1640511277 = 8
	}
	if input == 1 && (a1653973487 == 15 && (a1207265235 == 32 && cf == 1)) && a1249345268 == 35 {
		//;//printf("%d\n", 17); fflush(stdout);
		cf = 0
		a2018753675 = 11
		a1207265235 = 34
		a1265514289 = 5
	}
}

// calculate_outputm12 - transpiled function from  /tmp/2016-Problem11.c:866
func calculate_outputm12(input int) {
	if a1653973487 == 15 && cf == 1 {
		//;//printf("%d\n", 17); fflush(stdout);
		calculate_outputm81(input)
	}
}

// calculate_outputm83 - transpiled function from  /tmp/2016-Problem11.c:871
func calculate_outputm83(input int) {
	if a1207265235 == 32 && (cf == 1 && input == 8) && a2137325734 == 33 && a1249345268 == 36 {
		cf = 0
		a1150573588 = 32
		a1207265235 = 33
		a1535647353 = 13
	}
	if a1249345268 == 36 && (a2137325734 == 33 && (cf == 1 && input == 5 && a1207265235 == 32)) {
		//;//printf("%d\n", 22); fflush(stdout);
		cf = 0
		a536590795 = 33
		a1207265235 = 33
		a1535647353 = 11
	}
}

// calculate_outputm13 - transpiled function from  /tmp/2016-Problem11.c:886
func calculate_outputm13(input int) {
	if a2137325734 == 33 && cf == 1 {
		//;//printf("%d\n", 16); fflush(stdout);
		calculate_outputm83(input)
	}
}

// calculate_outputm89 - transpiled function from  /tmp/2016-Problem11.c:891
func calculate_outputm89(input int) {
	if a1207265235 == 34 && (a980532045 == 36 && cf == 1) && input == 8 && a2018753675 == 7 {
		cf = 0
		a2018753675 = 11
		a1265514289 = 7
	}
}

// calculate_outputm14 - transpiled function from  /tmp/2016-Problem11.c:899
func calculate_outputm14(input int) {
	if cf == 1 && a980532045 == 36 {
		//;//printf("%d\n", 16); fflush(stdout);
		calculate_outputm89(input)
	}
}

// calculate_outputm96 - transpiled function from  /tmp/2016-Problem11.c:904
func calculate_outputm96(input int) {
	if input == 4 && (a2018753675 == 10 && cf == 1 && a409889492 == 4) && a1207265235 == 34 {
		cf = 0
		a829234386 = 8
		a1207265235 = 35
		a725363116 = 10
	}
	if input == 6 && (a2018753675 == 10 && cf == 1) && a1207265235 == 34 && a409889492 == 4 {
		//;//printf("%d\n", 24); fflush(stdout);
		cf = 0
		a1991122068 = 32
		a2018753675 = 14
	}
}

// calculate_outputm17 - transpiled function from  /tmp/2016-Problem11.c:918
func calculate_outputm17(input int) {
	if a409889492 == 4 && cf == 1 {
		//;//printf("%d\n", 22); fflush(stdout);
		calculate_outputm96(input)
	}
}

// calculate_outputm101 - transpiled function from  /tmp/2016-Problem11.c:923
func calculate_outputm101(input int) {
	if a1207265235 == 34 && (input == 5 && cf == 1 && a1265514289 == 7) && a2018753675 == 11 {
		cf = 0
		a829234386 = 6
		a1207265235 = 35
		a641428659 = 5
	}
}

// calculate_outputm102 - transpiled function from  /tmp/2016-Problem11.c:932
func calculate_outputm102(input int) {
	if a1265514289 == 10 && (a2018753675 == 11 && (cf == 1 && input == 2) && a1207265235 == 34) {
		//;//printf("%d\n", 23); fflush(stdout);
		cf = 0
		a414008896 = 13
		a1207265235 = 36
		a2014931874 = 7
	}
}

// calculate_outputm18 - transpiled function from  /tmp/2016-Problem11.c:941
func calculate_outputm18(input int) {
	if cf == 1 && a1265514289 == 7 {
		//;//printf("%d\n", 17); fflush(stdout);
		calculate_outputm101(input)
	}
	if a1265514289 == 10 && cf == 1 {
		calculate_outputm102(input)
	}
}

// calculate_outputm103 - transpiled function from  /tmp/2016-Problem11.c:949
func calculate_outputm103(input int) {
	if cf == 1 && a1920560082 == 7 && a2018753675 == 12 && input == 9 && a1207265235 == 34 {
		cf = 0
		a1991122068 = 33
		a2018753675 = 14
	}
	if a2018753675 == 12 && (a1207265235 == 34 && (a1920560082 == 7 && cf == 1 && input == 6)) {
		//;//printf("%d\n", 26); fflush(stdout);
		cf = 0
		a1535647353 = 17
		a1207265235 = 33
		a531443452 = 10
	}
}

// calculate_outputm107 - transpiled function from  /tmp/2016-Problem11.c:963
func calculate_outputm107(input int) {
	if input == 9 && (cf == 1 && a1207265235 == 34 && a2018753675 == 12 && a1920560082 == 12) {
		//;//printf("%d\n", 20); fflush(stdout);
		cf = 0
		a1207265235 = 33
		a1535647353 = 12
		a1265514289 = 5
	}
}

// calculate_outputm108 - transpiled function from  /tmp/2016-Problem11.c:972
func calculate_outputm108(input int) {
	if a2018753675 == 12 && (cf == 1 && a1207265235 == 34 && input == 3) && a1920560082 == 13 {
		//;//printf("%d\n", 26); fflush(stdout);
		cf = 0
		a1207265235 = 35
		a829234386 = 8
		a725363116 = 10
	}
	if a2018753675 == 12 && (a1920560082 == 13 && cf == 1 && a1207265235 == 34) && input == 10 {
		//;//printf("%d\n", 24); fflush(stdout);
		cf = 0
		a615035064 = 33
		a1207265235 = 35
		a829234386 = 4
	}
	if a1920560082 == 13 && (input == 5 && (a1207265235 == 34 && (cf == 1 && a2018753675 == 12))) {
		//;//printf("%d\n", 17); fflush(stdout);
		cf = 0
		a1249345268 = 34
		a1207265235 = 32
		a1722860169 = 33
	}
}

// calculate_outputm19 - transpiled function from  /tmp/2016-Problem11.c:993
func calculate_outputm19(input int) {
	if cf == 1 && a1920560082 == 7 {
		//;//printf("%d\n", 17); fflush(stdout);
		calculate_outputm103(input)
	}
	if a1920560082 == 12 && cf == 1 {
		calculate_outputm107(input)
	}
	if cf == 1 && a1920560082 == 13 {
		calculate_outputm108(input)
	}
}

// calculate_outputm115 - transpiled function from  /tmp/2016-Problem11.c:1004
func calculate_outputm115(input int) {
	if a1979594534 == 15 && (a2018753675 == 13 && (input == 2 && cf == 1 && a1207265235 == 34)) {
		cf = 0
		a2018753675 = 12
		a1920560082 = 7
	}
	if a2018753675 == 13 && (a1979594534 == 15 && cf == 1) && input == 1 && a1207265235 == 34 {
		//;//printf("%d\n", 26); fflush(stdout);
		cf = 0
		a1207265235 = 35
		a1393627342 = 36
		a829234386 = 3
	}
}

// calculate_outputm117 - transpiled function from  /tmp/2016-Problem11.c:1018
func calculate_outputm117(input int) {
	if a2018753675 == 13 && (cf == 1 && a1979594534 == 17 && input == 7) && a1207265235 == 34 {
		//;//printf("%d\n", 17); fflush(stdout);
		cf = 0
		a1207265235 = 33
		a1535647353 = 12
		a1265514289 = 5
	}
	if a1207265235 == 34 && (input == 8 && cf == 1) && a1979594534 == 17 && a2018753675 == 13 {
		//;//printf("%d\n", 23); fflush(stdout);
		cf = 0
		a1211586799 = 33
		a1207265235 = 36
		a414008896 = 11
	}
	if a1979594534 == 17 && (input == 4 && (a2018753675 == 13 && cf == 1)) && a1207265235 == 34 {
		//;//printf("%d\n", 18); fflush(stdout);
		cf = 0
		a1207265235 = 32
		a1249345268 = 33
		a1640511277 = 2
	}
}

// calculate_outputm20 - transpiled function from  /tmp/2016-Problem11.c:1039
func calculate_outputm20(input int) {
	if cf == 1 && a1979594534 == 15 {
		//;//printf("%d\n", 23); fflush(stdout);
		calculate_outputm115(input)
	}
	if a1979594534 == 17 && cf == 1 {
		calculate_outputm117(input)
	}
}

// calculate_outputm118 - transpiled function from  /tmp/2016-Problem11.c:1047
func calculate_outputm118(input int) {
	if a1991122068 == 33 && (a2018753675 == 14 && cf == 1) && a1207265235 == 34 && input == 3 {
		cf = 0
		a1207265235 = 35
		a829234386 = 8
		a725363116 = 10
	}
	if a2018753675 == 14 && (a1207265235 == 34 && (cf == 1 && input == 6) && a1991122068 == 33) {
		//;//printf("%d\n", 23); fflush(stdout);
		cf = 0
		a1207265235 = 35
		a1393627342 = 34
		a829234386 = 3
	}
	if a1207265235 == 34 && (a2018753675 == 14 && (cf == 1 && input == 7) && a1991122068 == 33) {
		//;//printf("%d\n", 23); fflush(stdout);
		cf = 0
		a1207265235 = 36
		a414008896 = 13
		a2014931874 = 8
	}
}

// calculate_outputm120 - transpiled function from  /tmp/2016-Problem11.c:1068
func calculate_outputm120(input int) {
	if input == 4 && (a1207265235 == 34 && cf == 1) && a2018753675 == 14 && a1991122068 == 34 {
		//;//printf("%d\n", 23); fflush(stdout);
		cf = 0
		a2018753675 = 11
		a1265514289 = 10
	}
	if a1991122068 == 34 && (input == 10 && cf == 1 && a2018753675 == 14) && a1207265235 == 34 {
		//;//printf("%d\n", 17); fflush(stdout);
		cf = 0
		a1207265235 = 35
		a615035064 = 33
		a829234386 = 4
	}
	if a1207265235 == 34 && (cf == 1 && a1991122068 == 34 && input == 3 && a2018753675 == 14) {
		//;//printf("%d\n", 19); fflush(stdout);
		cf = 0
		a2018753675 = 13
		a1979594534 = 12
	}
}

// calculate_outputm21 - transpiled function from  /tmp/2016-Problem11.c:1087
func calculate_outputm21(input int) {
	if cf == 1 && a1991122068 == 33 {
		//;//printf("%d\n", 26); fflush(stdout);
		calculate_outputm118(input)
	}
	if a1991122068 == 34 && cf == 1 {
		calculate_outputm120(input)
	}
}

// calculate_outputm122 - transpiled function from  /tmp/2016-Problem11.c:1095
func calculate_outputm122(input int) {
	if a829234386 == 3 && (a1207265235 == 35 && (a1393627342 == 34 && cf == 1)) && input == 6 {
		cf = 0
		a1535647353 = 12
		a1207265235 = 33
		a1265514289 = 5
	}
	if a1207265235 == 35 && cf == 1 && a829234386 == 3 && input == 10 && a1393627342 == 34 {
		//;//printf("%d\n", 15); fflush(stdout);
		cf = 0
		a615035064 = 33
		a829234386 = 4
	}
}

// calculate_outputm22 - transpiled function from  /tmp/2016-Problem11.c:1109
func calculate_outputm22(input int) {
	if cf == 1 && a1393627342 == 34 {
		//;//printf("%d\n", 19); fflush(stdout);
		calculate_outputm122(input)
	}
}

// calculate_outputm124 - transpiled function from  /tmp/2016-Problem11.c:1114
func calculate_outputm124(input int) {
	if input == 2 && (a615035064 == 33 && (cf == 1 && a829234386 == 4 && a1207265235 == 35)) {
		cf = 0
		a1535647353 = 12
		a1207265235 = 33
		a1265514289 = 5
	}
	if a829234386 == 4 && (a1207265235 == 35 && (a615035064 == 33 && cf == 1 && input == 4)) {
		//;//printf("%d\n", 15); fflush(stdout);
		cf = 0
		a1249345268 = 34
		a1207265235 = 32
		a1722860169 = 32
	}
	if a1207265235 == 35 && (cf == 1 && a615035064 == 33) && input == 6 && a829234386 == 4 {
		//;//printf("%d\n", 26); fflush(stdout);
		cf = 0
		a1207265235 = 34
		a2018753675 = 12
		a1920560082 = 13
	}
	if a829234386 == 4 && (a1207265235 == 35 && (cf == 1 && a615035064 == 33)) && input == 1 {
		//;//printf("%d\n", 24); fflush(stdout);
		cf = 0
		a2018753675 = 12
		a1207265235 = 34
		a1920560082 = 10
	}
}

// calculate_outputm125 - transpiled function from  /tmp/2016-Problem11.c:1141
func calculate_outputm125(input int) {
	if a829234386 == 4 && (a615035064 == 32 && (a1207265235 == 35 && cf == 1) && input == 3) {
		//;//printf("%d\n", 20); fflush(stdout);
		cf = 0
		a1207265235 = 32
		a1249345268 = 33
		a1640511277 = 3
	}
	if a829234386 == 4 && (cf == 1 && a1207265235 == 35 && a615035064 == 32) && input == 8 {
		//;//printf("%d\n", 21); fflush(stdout);
		cf = 0
		a829234386 = 6
		a641428659 = 10
	}
}

// calculate_outputm23 - transpiled function from  /tmp/2016-Problem11.c:1155
func calculate_outputm23(input int) {
	if a615035064 == 33 && cf == 1 {
		//;//printf("%d\n", 22); fflush(stdout);
		calculate_outputm124(input)
	}
	if a615035064 == 32 && cf == 1 {
		calculate_outputm125(input)
	}
}

// calculate_outputm130 - transpiled function from  /tmp/2016-Problem11.c:1163
func calculate_outputm130(input int) {
	if a641428659 == 5 && (a1207265235 == 35 && cf == 1 && input == 10 && a829234386 == 6) {
		cf = 0
		a1249345268 = 33
		a1207265235 = 32
		a1640511277 = 3
	}
}

// calculate_outputm25 - transpiled function from  /tmp/2016-Problem11.c:1172
func calculate_outputm25(input int) {
	if a641428659 == 5 && cf == 1 {
		//;//printf("%d\n", 21); fflush(stdout);
		calculate_outputm130(input)
	}
}

// calculate_outputm141 - transpiled function from  /tmp/2016-Problem11.c:1177
func calculate_outputm141(input int) {
	if a829234386 == 8 && (a725363116 == 10 && cf == 1 && input == 5) && a1207265235 == 35 {
		cf = 0
		a1207265235 = 36
		a414008896 = 13
		a2014931874 = 5
	}
	if input == 6 && (a829234386 == 8 && (a725363116 == 10 && (cf == 1 && a1207265235 == 35))) {
		//;//printf("%d\n", 20); fflush(stdout);
		cf = 0
		a2018753675 = 10
		a1207265235 = 34
		a409889492 = 4
	}
	if a829234386 == 8 && (a1207265235 == 35 && cf == 1) && input == 8 && a725363116 == 10 {
		//;//printf("%d\n", 20); fflush(stdout);
		cf = 0
		a1207265235 = 33
		a1535647353 = 12
		a1265514289 = 5
	}
	if input == 7 && (a829234386 == 8 && cf == 1 && a1207265235 == 35) && a725363116 == 10 {
		//;//printf("%d\n", 23); fflush(stdout);
		cf = 0
		a1207265235 = 34
		a2018753675 = 13
		a1979594534 = 16
	}
}

// calculate_outputm27 - transpiled function from  /tmp/2016-Problem11.c:1204
func calculate_outputm27(input int) {
	if cf == 1 && a725363116 == 10 {
		//;//printf("%d\n", 23); fflush(stdout);
		calculate_outputm141(input)
	}
}

// calculate_outputm146 - transpiled function from  /tmp/2016-Problem11.c:1209
func calculate_outputm146(input int) {
	if a829234386 == 9 && (a642369719 == 36 && cf == 1) && input == 4 && a1207265235 == 35 {
		cf = 0
		a829234386 = 8
		a725363116 = 10
	}
	if input == 10 && (a642369719 == 36 && (a829234386 == 9 && (a1207265235 == 35 && cf == 1))) {
		//;//printf("%d\n", 23); fflush(stdout);
		cf = 0
		a1535647353 = 12
		a1207265235 = 33
		a1265514289 = 5
	}
}

// calculate_outputm28 - transpiled function from  /tmp/2016-Problem11.c:1223
func calculate_outputm28(input int) {
	if a642369719 == 36 && cf == 1 {
		//;//printf("%d\n", 23); fflush(stdout);
		calculate_outputm146(input)
	}
}

// calculate_outputm153 - transpiled function from  /tmp/2016-Problem11.c:1228
func calculate_outputm153(input int) {
	if input == 2 && (a414008896 == 11 && (a1211586799 == 33 && (a1207265235 == 36 && cf == 1))) {
		cf = 0
		a414008896 = 14
		a1278053282 = 17
	}
	if a1211586799 == 33 && (cf == 1 && a414008896 == 11 && input == 7) && a1207265235 == 36 {
		//;//printf("%d\n", 23); fflush(stdout);
		cf = 0
		a1207265235 = 34
		a1991122068 = 34
		a2018753675 = 14
	}
	if a1211586799 == 33 && (cf == 1 && a1207265235 == 36) && a414008896 == 11 && input == 10 {
		//;//printf("%d\n", 23); fflush(stdout);
		cf = 0
		a1207265235 = 33
		a1817180191 = 33
		a1535647353 = 14
	}
	if a1211586799 == 33 && (a1207265235 == 36 && cf == 1 && a414008896 == 11 && input == 3) {
		//;//printf("%d\n", 21); fflush(stdout);
		cf = 0
		a1207265235 = 35
		a136296760 = 33
		a829234386 = 7
	}
}

// calculate_outputm31 - transpiled function from  /tmp/2016-Problem11.c:1254
func calculate_outputm31(input int) {
	if cf == 1 && a1211586799 == 33 {
		//;//printf("%d\n", 23); fflush(stdout);
		calculate_outputm153(input)
	}
}

// calculate_outputm155 - transpiled function from  /tmp/2016-Problem11.c:1259
func calculate_outputm155(input int) {
	if a1207265235 == 36 && (input == 2 && cf == 1) && a1211586799 == 33 && a414008896 == 12 {
		cf = 0
		a1207265235 = 35
		a615035064 = 32
		a829234386 = 4
	}
	if a1211586799 == 33 && (cf == 1 && a414008896 == 12 && a1207265235 == 36 && input == 3) {
		//;//printf("%d\n", 22); fflush(stdout);
		cf = 0
		a1535647353 = 12
		a1207265235 = 33
		a1265514289 = 5
	}
	if input == 8 && (cf == 1 && a414008896 == 12) && a1211586799 == 33 && a1207265235 == 36 {
		//;//printf("%d\n", 23); fflush(stdout);
		cf = 0
		a1535647353 = 12
		a1207265235 = 33
		a1265514289 = 5
	}
	if a1207265235 == 36 && cf == 1 && a414008896 == 12 && input == 9 && a1211586799 == 33 {
		//;//printf("%d\n", 20); fflush(stdout);
		cf = 0
		a1207265235 = 34
		a2018753675 = 10
		a409889492 = 3
	}
}

// calculate_outputm156 - transpiled function from  /tmp/2016-Problem11.c:1286
func calculate_outputm156(input int) {
	if a414008896 == 12 && (a1211586799 == 34 && cf == 1 && input == 8 && a1207265235 == 36) {
		//;//printf("%d\n", 22); fflush(stdout);
		cf = 0
		a1207265235 = 34
		a2018753675 = 13
		a1979594534 = 15
	}
	if a1207265235 == 36 && (a1211586799 == 34 && (a414008896 == 12 && (cf == 1 && input == 6))) {
		//;//printf("%d\n", 16); fflush(stdout);
		cf = 0
		a1207265235 = 33
		a1535647353 = 12
		a1265514289 = 7
	}
}

// calculate_outputm32 - transpiled function from  /tmp/2016-Problem11.c:1301
func calculate_outputm32(input int) {
	if cf == 1 && a1211586799 == 33 {
		//;//printf("%d\n", 20); fflush(stdout);
		calculate_outputm155(input)
	}
	if cf == 1 && a1211586799 == 34 {
		calculate_outputm156(input)
	}
}

// calculate_outputm158 - transpiled function from  /tmp/2016-Problem11.c:1309
func calculate_outputm158(input int) {
	if input == 3 && (a414008896 == 13 && cf == 1 && a2014931874 == 5) && a1207265235 == 36 {
		cf = 0
		a2014931874 = 8
	}
	if a1207265235 == 36 && (a2014931874 == 5 && (a414008896 == 13 && cf == 1 && input == 5)) {
		//;//printf("%d\n", 17); fflush(stdout);
		cf = 0
		a1393627342 = 34
		a1207265235 = 35
		a829234386 = 3
	}
	if a2014931874 == 5 && (input == 8 && (a414008896 == 13 && cf == 1) && a1207265235 == 36) {
		//;//printf("%d\n", 24); fflush(stdout);
		cf = 0
		a1207265235 = 32
		a1249345268 = 34
		a1722860169 = 32
	}
	if a414008896 == 13 && (input == 4 && (a1207265235 == 36 && cf == 1) && a2014931874 == 5) {
		//;//printf("%d\n", 26); fflush(stdout);
		cf = 0
		a1207265235 = 33
		a1030589677 = 36
		a1535647353 = 16
	}
}

// calculate_outputm160 - transpiled function from  /tmp/2016-Problem11.c:1334
func calculate_outputm160(input int) {
	if a414008896 == 13 && (input == 8 && (a1207265235 == 36 && cf == 1) && a2014931874 == 7) {
		//;//printf("%d\n", 20); fflush(stdout);
		cf = 0
		a1249345268 = 32
		a1207265235 = 32
		a409889492 = 2
	}
}

// calculate_outputm161 - transpiled function from  /tmp/2016-Problem11.c:1343
func calculate_outputm161(input int) {
	if a2014931874 == 8 && (a1207265235 == 36 && cf == 1 && input == 2) && a414008896 == 13 {
		//;//printf("%d\n", 23); fflush(stdout);
		cf = 0
		a1535647353 = 12
		a1207265235 = 33
		a1265514289 = 5
	}
	if a1207265235 == 36 && (cf == 1 && input == 3 && a2014931874 == 8 && a414008896 == 13) {
		//;//printf("%d\n", 26); fflush(stdout);
		cf = 0
		a1207265235 = 33
		a1535647353 = 12
		a1265514289 = 5
	}
	if input == 6 && (cf == 1 && a414008896 == 13 && a2014931874 == 8 && a1207265235 == 36) {
		//;//printf("%d\n", 20); fflush(stdout);
		cf = 0
		a1207265235 = 34
		a2018753675 = 12
		a1920560082 = 13
	}
}

// calculate_outputm162 - transpiled function from  /tmp/2016-Problem11.c:1364
func calculate_outputm162(input int) {
	if a414008896 == 13 && (input == 2 && (a2014931874 == 11 && cf == 1)) && a1207265235 == 36 {
		//;//printf("%d\n", 18); fflush(stdout);
		cf = 0
		a1207265235 = 35
		a829234386 = 8
		a725363116 = 10
	}
	if a414008896 == 13 && cf == 1 && input == 6 && a1207265235 == 36 && a2014931874 == 11 {
		//;//printf("%d\n", 23); fflush(stdout);
		cf = 0
		a1393627342 = 34
		a1207265235 = 35
		a829234386 = 3
	}
}

// calculate_outputm33 - transpiled function from  /tmp/2016-Problem11.c:1379
func calculate_outputm33(input int) {
	if cf == 1 && a2014931874 == 5 {
		//;//printf("%d\n", 23); fflush(stdout);
		calculate_outputm158(input)
	}
	if cf == 1 && a2014931874 == 7 {
		calculate_outputm160(input)
	}
	if cf == 1 && a2014931874 == 8 {
		calculate_outputm161(input)
	}
	if cf == 1 && a2014931874 == 11 {
		calculate_outputm162(input)
	}
}

// calculate_outputm168 - transpiled function from  /tmp/2016-Problem11.c:1393
func calculate_outputm168(input int) {
	if a1207265235 == 36 && (a414008896 == 14 && (cf == 1 && input == 4) && a1278053282 == 17) {
		cf = 0
		a980532045 = 36
		a1207265235 = 34
		a2018753675 = 7
	}
	if a1207265235 == 36 && (input == 9 && (a1278053282 == 17 && cf == 1 && a414008896 == 14)) {
		//;//printf("%d\n", 18); fflush(stdout);
		cf = 0
		a1207265235 = 33
		a1817180191 = 35
		a1535647353 = 14
	}
}

// calculate_outputm34 - transpiled function from  /tmp/2016-Problem11.c:1408
func calculate_outputm34(input int) {
	if a1278053282 == 17 && cf == 1 {
		//;//printf("%d\n", 17); fflush(stdout);
		calculate_outputm168(input)
	}
}

// calculate_output - transpiled function from  /tmp/2016-Problem11.c:1414
func calculate_output(input int) {
	cf = 1
	if cf == 1 && a1207265235 == 33 {
		if cf == 1 && a1535647353 == 12 {
			calculate_outputm3(input)
		}
		if cf == 1 && a1535647353 == 13 {
			calculate_outputm4(input)
		}
		if a1535647353 == 14 && cf == 1 {
			calculate_outputm5(input)
		}
	}
	if cf == 1 && a1207265235 == 32 {
		if cf == 1 && a1249345268 == 33 {
			calculate_outputm9(input)
		}
		if cf == 1 && a1249345268 == 32 {
			calculate_outputm10(input)
		}
		if a1249345268 == 34 && cf == 1 {
			calculate_outputm11(input)
		}
		if a1249345268 == 35 && cf == 1 {
			calculate_outputm12(input)
		}
		if cf == 1 && a1249345268 == 36 {
			calculate_outputm13(input)
		}
	}
	if cf == 1 && a1207265235 == 34 {
		if a2018753675 == 7 && cf == 1 {
			calculate_outputm14(input)
		}
		if cf == 1 && a2018753675 == 10 {
			calculate_outputm17(input)
		}
		if cf == 1 && a2018753675 == 11 {
			calculate_outputm18(input)
		}
		if a2018753675 == 12 && cf == 1 {
			calculate_outputm19(input)
		}
		if cf == 1 && a2018753675 == 13 {
			calculate_outputm20(input)
		}
		if a2018753675 == 14 && cf == 1 {
			calculate_outputm21(input)
		}
	}
	if cf == 1 && a1207265235 == 35 {
		if cf == 1 && a829234386 == 3 {
			calculate_outputm22(input)
		}
		if a829234386 == 4 && cf == 1 {
			calculate_outputm23(input)
		}
		if a829234386 == 6 && cf == 1 {
			calculate_outputm25(input)
		}
		if a829234386 == 8 && cf == 1 {
			calculate_outputm27(input)
		}
		if cf == 1 && a829234386 == 9 {
			calculate_outputm28(input)
		}
	}
	if a1207265235 == 36 && cf == 1 {
		if a414008896 == 11 && cf == 1 {
			calculate_outputm31(input)
		}
		if cf == 1 && a414008896 == 12 {
			calculate_outputm32(input)
		}
		if a414008896 == 13 && cf == 1 {
			calculate_outputm33(input)
		}
		if a414008896 == 14 && cf == 1 {
			calculate_outputm34(input)
		}
	}
	errorCheck()
	if cf == 1 {
	}
}

// main - transpiled function from  /tmp/2016-Problem11.c:1502
func main() {
	for 1 != 0 {
		var __RERS__ int
		//f;//;//printf(stderr, "Invalid input: %d\n", input);
		// main i/o-loop
		// read input
		__RERS__ = __RERS__ + 1
		if __RERS__ != 2 && __RERS__ != 10 && __RERS__ != 9 && __RERS__ != 5 && __RERS__ != 3 && __RERS__ != 4 && __RERS__ != 1 && __RERS__ != 7 && __RERS__ != 8 && __RERS__ != 6 {
			// operate eca engine
			break
		}
		calculate_output(__RERS__)
	}
}