import strutils, sequtils proc main() = echo 14 # 1 -> 1,10 # 2 -> 2,11,20 # 3 -> 3,12,21,30 # 4 -> 4,13,22 # 5 -> 5,14,23 # 6 -> 6,15,24 # 7 -> 7,16,25 # 8 -> 8,17,26 # 9 -> 9,18,27 # 10 -> 28 # 11 -> 29 # 12 -> xx when isMainModule: main()