<reponame>kurpenok/Labs<filename>2 semester/PW/Coursera/Python/3 Week/6.py
p = int(input())
x = int(input())
y = int(input())

money = x * 100 + y
money += money * (p / 100)

print(int(money // 100), int(money % 100))

semester/PW/Coursera/Python/3 Week/6.py
p = int(input())
x = int(input())
y = int(input())

money = x * 100 + y
money += money * (p / 100)

print(int(money // 100), int(money % 100))