eolymp
bolt
Try our new interface for solving problems
Problems

Credit

Credit

Yura took a bank loan in the amount of a under p% per day. Every seventh day, Yura will return some amount b. Will Yura be able to settle accounts with the bank and if the answer is positive, then how many payments will he have to make and how much will be the last paid.

Input

Three integers a, p and b.

Output

Print two numbers - the number of payments and the amount that will be deposited last (with 2 decimal digits) or -1 if this is not possible.

Time limit 1 second
Memory limit 128 MiB
Input example #1
100 2 90
Output example #1
2 28.57