{0: [0, 4, 11, 18, 19, 36, 38], 2: [0, 1, 5, 11, 13, 14, 16, 18, 21, 22, 26, 34, 36, 37], 4: [0, 2, 5, 6, 7, 9, 11, 17, 29, 35], 7: [0, 4, 7, 8, 12, 16, 28, 29, 32], 13: [0, 1, 9, 18, 20, 26, 27, 31, 32], 17: [0, 3, 13, 16, 19, 20, 21, 23, 25, 27, 37], 19: [0, 5, 8, 9, 14, 17, 21, 25, 36, 38], 24: [0, 6, 10, 15, 16, 17, 20, 22, 25, 28, 29], 27: [0, 2, 4, 9, 10, 14, 25, 26, 30, 35], 34: [0, 2, 10, 13, 17, 27, 29, 32], 35: [0, 5, 7, 14, 17, 19, 26, 27], 14: [1, 13, 19, 20, 25, 27, 30, 33], 18: [1, 6, 13, 14, 17, 22, 23, 29, 31], 26: [1, 4, 9, 10, 11, 16, 22, 34], 28: [1, 3, 4, 5, 10, 14, 20, 21, 24, 31, 33, 39], 36: [1, 2, 3, 7, 8, 11, 16, 25, 27, 28, 29, 34, 36, 39], 9: [2, 9, 10, 11, 13, 15, 19, 22, 23, 27, 29, 31, 34, 36, 37, 38, 39], 10: [2, 5, 7, 18, 21, 26, 27, 31, 36], 12: [2, 4, 7, 12, 15, 24, 26, 27, 29, 32, 37, 38], 25: [2, 7, 8, 9, 10, 11, 13, 14, 17, 18, 28, 29, 38], 15: [3, 5, 17, 18, 21, 24, 34, 37], 23: [3, 7, 23, 37], 31: [3, 8, 15, 16, 17, 19, 21, 22, 23, 24, 28, 31], 1: [4, 5, 10, 13, 15, 20, 24, 30, 31, 35], 16: [4, 5, 21], 33: [4, 7, 11, 12, 14, 18, 24, 25, 31, 36, 37], 38: [4, 8, 22, 26, 35, 38, 39], 5: [5, 9, 12, 15, 17, 19, 21, 28, 35, 37, 39], 8: [5, 10, 11, 14, 28, 30, 31, 33, 35, 39], 11: [5, 8, 12, 15, 26, 31, 32, 39], 30: [5, 23, 26, 27, 33, 37], 6: [7, 9, 18, 25, 30, 31, 34, 35], 29: [7, 14, 15, 16, 18, 20, 23, 38, 39], 20: [8, 9, 16, 21, 22, 23, 25, 26, 29, 38], 22: [8, 9, 15, 17, 20, 22, 25, 28, 31, 34, 35, 36], 32: [10, 12, 15, 18, 24, 27, 29, 30, 34, 36], 39: [11, 16, 19, 22, 23, 26, 29, 36], 3: [12, 17, 18, 23, 24, 27, 29, 33, 36, 38, 39], 21: [12, 18, 22, 24, 29, 32, 34, 35], 37: [15, 16, 17, 19, 24, 27]} {0: [0, 2, 4, 7, 13, 17, 19, 24, 27, 34, 35], 1: [2, 13, 14, 18, 26, 28, 36], 2: [4, 9, 10, 12, 25, 27, 34, 36], 3: [15, 17, 23, 28, 31, 36], 4: [0, 1, 7, 12, 16, 26, 27, 28, 33, 38], 5: [1, 2, 4, 5, 8, 10, 11, 15, 16, 19, 28, 30, 35], 6: [4, 18, 24], 7: [4, 6, 7, 10, 12, 23, 25, 29, 33, 35, 36], 8: [7, 11, 19, 20, 22, 25, 31, 36, 38], 9: [4, 5, 6, 9, 13, 19, 20, 22, 25, 26, 27], 10: [1, 8, 9, 24, 25, 26, 27, 28, 32, 34], 11: [0, 2, 4, 8, 9, 25, 26, 33, 36, 39], 12: [3, 5, 7, 11, 12, 21, 32, 33], 13: [1, 2, 9, 14, 17, 18, 25, 34], 14: [2, 8, 18, 19, 25, 27, 28, 29, 33, 35], 15: [1, 5, 9, 11, 12, 22, 24, 29, 31, 32, 37], 16: [2, 7, 17, 20, 24, 26, 29, 31, 36, 37, 39], 17: [3, 4, 5, 15, 18, 19, 22, 24, 25, 31, 34, 35, 37], 18: [0, 2, 3, 6, 10, 13, 15, 21, 25, 29, 32, 33], 19: [0, 5, 9, 14, 17, 31, 35, 37, 39], 20: [1, 13, 14, 17, 22, 24, 28, 29], 21: [2, 5, 10, 15, 16, 17, 19, 20, 28, 31], 22: [2, 9, 18, 20, 21, 22, 24, 26, 31, 38, 39], 23: [3, 9, 17, 18, 20, 23, 29, 30, 31, 39], 24: [1, 3, 12, 15, 21, 28, 31, 32, 33, 37], 25: [6, 14, 17, 19, 20, 22, 24, 27, 33, 36], 26: [2, 10, 11, 12, 13, 20, 27, 30, 35, 38, 39], 27: [3, 9, 10, 12, 13, 14, 17, 30, 32, 34, 35, 36, 37], 28: [5, 7, 8, 22, 24, 25, 31, 36], 29: [3, 4, 7, 9, 12, 18, 20, 21, 24, 25, 32, 34, 36, 39], 30: [1, 6, 8, 14, 27, 32], 31: [1, 6, 8, 9, 10, 11, 13, 18, 22, 28, 31, 33], 32: [7, 11, 12, 13, 21, 34], 33: [3, 8, 14, 28, 30], 34: [2, 6, 9, 15, 21, 22, 26, 32, 36], 35: [1, 4, 5, 6, 8, 21, 22, 27, 38], 36: [0, 2, 3, 9, 10, 19, 22, 32, 33, 36, 39], 37: [2, 5, 9, 12, 15, 17, 23, 30, 33], 38: [0, 3, 9, 12, 19, 20, 25, 29, 38], 39: [3, 5, 8, 9, 11, 28, 29, 36, 38]} {(0, 0): 0, (0, 2): 0, (0, 4): 0, (0, 7): 0, (0, 13): 0, (0, 17): 0, (0, 19): 0, (0, 24): 0, (0, 27): 0, (0, 34): 0, (0, 35): 0, (1, 2): 0, (1, 13): 0, (1, 14): 0, (1, 18): 0, (1, 26): 0, (1, 28): 0, (1, 36): 0, (2, 4): 0, (2, 9): 0, (2, 10): 0, (2, 12): 0, (2, 25): 0, (2, 27): 0, (2, 34): 0, (2, 36): 0, (3, 15): 0, (3, 17): 0, (3, 23): 0, (3, 28): 0, (3, 31): 0, (3, 36): 0, (4, 0): 0, (4, 1): 0, (4, 7): 0, (4, 12): 0, (4, 16): 0, (4, 26): 0, (4, 27): 0, (4, 28): 0, (4, 33): 0, (4, 38): 0, (5, 1): 0, (5, 2): 0, (5, 4): 0, (5, 5): 0, (5, 8): 0, (5, 10): 0, (5, 11): 0, (5, 15): 0, (5, 16): 0, (5, 19): 0, (5, 28): 0, (5, 30): 0, (5, 35): 0, (6, 4): 0, (6, 18): 0, (6, 24): 0, (7, 4): 0, (7, 6): 0, (7, 7): 0, (7, 10): 0, (7, 12): 0, (7, 23): 0, (7, 25): 0, (7, 29): 0, (7, 33): 0, (7, 35): 0, (7, 36): 0, (8, 7): 0, (8, 11): 0, (8, 19): 0, (8, 20): 0, (8, 22): 0, (8, 25): 0, (8, 31): 0, (8, 36): 0, (8, 38): 0, (9, 4): 0, (9, 5): 0, (9, 6): 0, (9, 9): 0, (9, 13): 0, (9, 19): 0, (9, 20): 0, (9, 22): 0, (9, 25): 0, (9, 26): 0, (9, 27): 0, (10, 1): 0, (10, 8): 0, (10, 9): 0, (10, 24): 0, (10, 25): 0, (10, 26): 0, (10, 27): 0, (10, 28): 0, (10, 32): 0, (10, 34): 0, (11, 0): 0, (11, 2): 0, (11, 4): 0, (11, 8): 0, (11, 9): 0, (11, 25): 0, (11, 26): 0, (11, 33): 0, (11, 36): 0, (11, 39): 0, (12, 3): 0, (12, 5): 0, (12, 7): 0, (12, 11): 0, (12, 12): 0, (12, 21): 0, (12, 32): 0, (12, 33): 0, (13, 1): 0, (13, 2): 0, (13, 9): 0, (13, 14): 0, (13, 17): 0, (13, 18): 0, (13, 25): 0, (13, 34): 0, (14, 2): 0, (14, 8): 0, (14, 18): 0, (14, 19): 0, (14, 25): 0, (14, 27): 0, (14, 28): 0, (14, 29): 0, (14, 33): 0, (14, 35): 0, (15, 1): 0, (15, 5): 0, (15, 9): 0, (15, 11): 0, (15, 12): 0, (15, 22): 0, (15, 24): 0, (15, 29): 0, (15, 31): 0, (15, 32): 0, (15, 37): 0, (16, 2): 0, (16, 7): 0, (16, 17): 0, (16, 20): 0, (16, 24): 0, (16, 26): 0, (16, 29): 0, (16, 31): 0, (16, 36): 0, (16, 37): 0, (16, 39): 0, (17, 3): 0, (17, 4): 0, (17, 5): 0, (17, 15): 0, (17, 18): 0, (17, 19): 0, (17, 22): 0, (17, 24): 0, (17, 25): 0, (17, 31): 0, (17, 34): 0, (17, 35): 0, (17, 37): 0, (18, 0): 0, (18, 2): 0, (18, 3): 0, (18, 6): 0, (18, 10): 0, (18, 13): 0, (18, 15): 0, (18, 21): 0, (18, 25): 0, (18, 29): 0, (18, 32): 0, (18, 33): 0, (19, 0): 0, (19, 5): 0, (19, 9): 0, (19, 14): 0, (19, 17): 0, (19, 31): 0, (19, 35): 0, (19, 37): 0, (19, 39): 0, (20, 1): 0, (20, 13): 0, (20, 14): 0, (20, 17): 0, (20, 22): 0, (20, 24): 0, (20, 28): 0, (20, 29): 0, (21, 2): 0, (21, 5): 0, (21, 10): 0, (21, 15): 0, (21, 16): 0, (21, 17): 0, (21, 19): 0, (21, 20): 0, (21, 28): 0, (21, 31): 0, (22, 2): 0, (22, 9): 0, (22, 18): 0, (22, 20): 0, (22, 21): 0, (22, 22): 0, (22, 24): 0, (22, 26): 0, (22, 31): 0, (22, 38): 0, (22, 39): 0, (23, 3): 0, (23, 9): 0, (23, 17): 0, (23, 18): 0, (23, 20): 0, (23, 23): 0, (23, 29): 0, (23, 30): 0, (23, 31): 0, (23, 39): 0, (24, 1): 0, (24, 3): 0, (24, 12): 0, (24, 15): 0, (24, 21): 0, (24, 28): 0, (24, 31): 0, (24, 32): 0, (24, 33): 0, (24, 37): 0, (25, 6): 0, (25, 14): 0, (25, 17): 0, (25, 19): 0, (25, 20): 0, (25, 22): 0, (25, 24): 0, (25, 27): 0, (25, 33): 0, (25, 36): 0, (26, 2): 0, (26, 10): 0, (26, 11): 0, (26, 12): 0, (26, 13): 0, (26, 20): 0, (26, 27): 0, (26, 30): 0, (26, 35): 0, (26, 38): 0, (26, 39): 0, (27, 3): 0, (27, 9): 0, (27, 10): 0, (27, 12): 0, (27, 13): 0, (27, 14): 0, (27, 17): 0, (27, 30): 0, (27, 32): 0, (27, 34): 0, (27, 35): 0, (27, 36): 0, (27, 37): 0, (28, 5): 0, (28, 7): 0, (28, 8): 0, (28, 22): 0, (28, 24): 0, (28, 25): 0, (28, 31): 0, (28, 36): 0, (29, 3): 0, (29, 4): 0, (29, 7): 0, (29, 9): 0, (29, 12): 0, (29, 18): 0, (29, 20): 0, (29, 21): 0, (29, 24): 0, (29, 25): 0, (29, 32): 0, (29, 34): 0, (29, 36): 0, (29, 39): 0, (30, 1): 0, (30, 6): 0, (30, 8): 0, (30, 14): 0, (30, 27): 0, (30, 32): 0, (31, 1): 0, (31, 6): 0, (31, 8): 0, (31, 9): 0, (31, 10): 0, (31, 11): 0, (31, 13): 0, (31, 18): 0, (31, 22): 0, (31, 28): 0, (31, 31): 0, (31, 33): 0, (32, 7): 0, (32, 11): 0, (32, 12): 0, (32, 13): 0, (32, 21): 0, (32, 34): 0, (33, 3): 0, (33, 8): 0, (33, 14): 0, (33, 28): 0, (33, 30): 0, (34, 2): 0, (34, 6): 0, (34, 9): 0, (34, 15): 0, (34, 21): 0, (34, 22): 0, (34, 26): 0, (34, 32): 0, (34, 36): 0, (35, 1): 0, (35, 4): 0, (35, 5): 0, (35, 6): 0, (35, 8): 0, (35, 21): 0, (35, 22): 0, (35, 27): 0, (35, 38): 0, (36, 0): 0, (36, 2): 0, (36, 3): 0, (36, 9): 0, (36, 10): 0, (36, 19): 0, (36, 22): 0, (36, 32): 0, (36, 33): 0, (36, 36): 0, (36, 39): 0, (37, 2): 0, (37, 5): 0, (37, 9): 0, (37, 12): 0, (37, 15): 0, (37, 17): 0, (37, 23): 0, (37, 30): 0, (37, 33): 0, (38, 0): 0, (38, 3): 0, (38, 9): 0, (38, 12): 0, (38, 19): 0, (38, 20): 0, (38, 25): 0, (38, 29): 0, (38, 38): 0, (39, 3): 0, (39, 5): 0, (39, 8): 0, (39, 9): 0, (39, 11): 0, (39, 28): 0, (39, 29): 0, (39, 36): 0, (39, 38): 0}