# Example input taken from wikipedia # The following table shows all coordinates: |--------------------------------| | 11 12 13 | 14 15 16 | 17 18 19 | | 21 22 23 | 24 25 26 | 27 28 29 | | 31 32 33 | 34 35 36 | 37 38 39 | |--------------------------------| | 41 42 43 | 44 45 46 | 47 48 49 | | 51 52 53 | 54 55 56 | 57 58 59 | | 61 62 63 | 64 65 66 | 67 68 69 | |--------------------------------| | 71 72 73 | 74 75 76 | 77 78 79 | | 81 82 83 | 84 85 86 | 87 88 89 | | 91 92 93 | 94 95 96 | 97 98 99 | |--------------------------------| 3 11 12 15 13 14 15 22 16 25 26 35 4 17 27 16 18 28 15 19 29 39 49 25 21 22 31 32 17 23 24 9 33 34 44 8 36 46 56 20 37 38 47 6 41 51 14 42 43 17 45 55 65 17 48 57 58 13 52 53 62 20 54 64 74 12 59 69 27 61 71 81 91 6 63 72 73 20 66 76 77 6 67 68 10 75 84 85 94 14 78 79 88 89 8 82 92 16 83 93 15 86 87 13 95 96 97 17 98 99