Time limit
2s
Memory limit
128 MB
An infinite sequence A is defined as follows.
Given integers N, P, and Q, write a program that computes A_N.
The first line contains three integers N, P, and Q separated by spaces.
Print the value of A_N.
⌊x⌋ is the greatest integer that is not greater than x.