t = gets.chomp.to_i t.tiems do r = gets.chomp.to_i ans = 3 * (r**2) * 173205 puts ans / 200000.to_f end