# your code goes here # encoding: utf-8 #ほぼ初めてのRubyなのでいろいろと間違いや勘違いが line=STDIN.gets L,C=line.split(" ") L=L.to_i C=C.to_i if L