by@yamayu832
WA
1929ms
a=`cat`.split.map &.to_i p a
49 12 61 73 61 37 91 68 34 81 27 09
[49, 12, 61, 73, 61, 37, 91, 68, 34, 81, 27, 9]