A. Plate Game

链接:https://codeforces.com/problemset/problem/197/A

You've got a rectangular table with length a and width b and the infinite number of plates of radius r. Two players play the following game: they take turns to put the plates on the table so that the plates don't lie on each other (but they can touch each other), and so that any point on any plate is located within the table's border. During the game one cannot move the plates that already lie on the table. The player who cannot make another move loses. Determine which player wins, the one who moves first or the one who moves second, provided that both players play optimally well.

Input

A single line contains three space-separated integers abr (1 ≤ a, b, r ≤ 100) — the table sides and the plates' radius, correspondingly.

Output

If wins the player who moves first, print "First" (without the quotes). Otherwise print "Second" (without the quotes).

Examples

input

Copy

5 5 2

output

Copy

First

input

Copy

6 7 4

output

Copy

Second

Note

In the first sample the table has place for only one plate. The first player puts a plate on the table, the second player can't do that and loses.

In the second sample the table is so small that it doesn't have enough place even for one plate. So the first player loses without making a single move.

#include<bits/stdc++.h>
using namespace std;
long long n,t,a,b,c,l,j,r,k,d,ans,max1=0,mod=1e9+7;
int main()
{
	cin>>a>>b>>r;
	if(a<r*2||b<r*2)
	cout<<"Second";
	else
	cout<<"First";
} 
发布了137 篇原创文章 · 获赞 15 · 访问量 9831

猜你喜欢

转载自blog.csdn.net/Luoriliming/article/details/104032684
今日推荐