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