from math import ceil

avrg_speed = float(input())
fuel_consumption = float(input())

distance = 384400 * 2
time_travel = ceil(distance / avrg_speed)
total_time = int(time_travel + 3)
total_fuel = int((fuel_consumption * distance) / 100)

print(f"{total_time}")
print(f"{total_fuel}")

696f8c2e0da0cf6fefa6f41cf59a3560013b3b50
<mask token>

<mask token>
print(f'{total_time}')
print(f'{total_fuel}')

<mask token>
avrg_speed = float(input())
fuel_consumption = float(input())
distance = 384400 * 2
time_travel = ceil(distance / avrg_speed)
total_time = int(time_travel + 3)
total_fuel = int(fuel_consumption * distance / 100)
print(f'{total_time}')
print(f'{total_fuel}')

from math import ceil
avrg_speed = float(input())
fuel_consumption = float(input())
distance = 384400 * 2
time_travel = ceil(distance / avrg_speed)
total_time = int(time_travel + 3)
total_fuel = int(fuel_consumption * distance / 100)
print(f'{total_time}')
print(f'{total_fuel}')

from math import ceil

avrg_speed = float(input())
fuel_consumption = float(input())

distance = 384400 * 2
time_travel = ceil(distance / avrg_speed)
total_time = int(time_travel + 3)
total_fuel = int((fuel_consumption * distance) / 100)

print(f"{total_time}")
print(f"{total_fuel}")
