# https://open.kattis.com/problems/betting
# 1s
# 1.3 Easy


# 37 chars Top 10 place 8
n=gets.to_f
p (100/n);p (100/(100-n))


# 37 chars
# n=gets.to_f;h=100
# p (h/n);p (h/(h-n))

