Codeforces Round 156 (Div. 1)
C
Furlo and Rublo and Game
Codeforces
未评级
原题
← BD →
翻译中…

Furlo and Rublo play a game. The table has $*n*$ piles of coins lying on it, the $*i*$-th pile has $*a*_{*i*}$ coins. Furlo and Rublo move in turns, Furlo moves first. In one move you are allowed to:

翻译中…
  • choose some pile, let's denote the current number of coins in it as $*x*$;
  • choose some integer $*y*$ $(0 ≤ *y* < *x*; *x*^{1 / 4} ≤ *y* ≤ *x*^{1 / 2})$ and decrease the number of coins in this pile to $*y*$. In other words, after the described move the pile will have $*y*$ coins left.
翻译中…

The player who can't make a move, loses.

翻译中…

Your task is to find out, who wins in the given game if both Furlo and Rublo play optimally well.

翻译中…

Input

翻译中…

The first line contains integer $*n*$ $(1 ≤ *n* ≤ 77777)$ — the number of piles. The next line contains $*n*$ integers $*a*_{1}, *a*_{2}, ..., *a*_{*n*}$ $(1 ≤ *a*_{*i*} ≤ 777777777777)$ — the sizes of piles. The numbers are separated by single spaces.

翻译中…

Please, do not use the %lld specifier to read or write 64-bit integers in С++. It is preferred to use the cin, cout streams or the %I64d specifier.

翻译中…

Output

翻译中…

If both players play optimally well and Furlo wins, print "Furlo", otherwise print "Rublo". Print the answers without the quotes.

翻译中…

样例

Input #1
1
1
Output #1
Rublo
InputCopy OutputCopy
Input #2
2
1 2
Output #2
Rublo
InputCopy OutputCopy
Input #3
10
1 2 3 4 5 6 7 8 9 10
Output #3
Furlo
InputCopy OutputCopy
题目信息
题号
256C
时间限制
2 s
内存限制
256 MB

题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。