p 100/(1-99/(1-1e4/gets.to_i))