s = gets.chop l = s.length a = (s[0..2].to_r/10).round if a==100 a = 10 l += 1 end puts "#{a/10}.#{a%10}*10^#{l-1}"