a=gets.chomp b=a.to_i while b>0 puts a*b b-=1 end