文理学院程序设计在线练习


Circle Game

Time Limit: 1 Second(s)    Memory Limit: 32 MB

Total Submission(s): 21   Accepted Submission(s): 12
Problem Description

forever97 and pikapikachu>.< play the following game: they take turns to draw the circle with radius r on the rectangular table with length n and width m, the circles don't cover each other, and any circle is located within the table's border. The player who cannot draw the circle loses. Now we know forever97 draw first, determine which player wins.

Input

The first line is an integer, T, representing the T cases.
For each case, the first line contains three positive integers n, m, r (1<=n, m, r<=10,000).

Output

Output one line per case, either "forever97."(without the quotes) if forever97 wins or "pikapikachu>.<" (without the quotes), if pikapikachu>.< wins.

Sample Input
2
2 2 1
1 1 1
Sample Output
forever97.
pikapikachu>.<
Source

2018绍兴市联赛