a = gets.chomp x = a.split('').size-1 y = (a.to_f / 10**x).round(1) puts "#{y}*10^#{x}"