length, speed = gets.chomp.split(" ").map(&:to_i) puts length / (speed * 2) * speed