CF513A Game
题目描述
有两个箱子,A箱子里有n1个球,B箱子里有n2个球。第一个人先从A箱子里取1~k1个球,第二个人再从B箱子里取1~k2个球,如此往复。先取完的人输掉游戏。输出赢的人。
输入格式
The first line contains four integers $ n_{1},n_{2},k_{1},k_{2} $ . All numbers in the input are from 1 to 50.
This problem doesn't have subproblems. You will get 3 points for the correct submission.
输出格式
Output "First" if the first player wins and "Second" otherwise.
说明/提示
Consider the first sample test. Each player has a box with 2 balls. The first player draws a single ball from his box in one move and the second player can either take 1 or 2 balls from his box in one move. No matter how the first player acts, the second player can always win if he plays wisely.