Загрузка данных


km = float(input())
hours = float(input())
kmh = km / hours
ms = kmh * 1000/ 3600
print(kmh, ms)