-
Notifications
You must be signed in to change notification settings - Fork 0
/
B_First_or_Second.py
37 lines (27 loc) · 1.07 KB
/
B_First_or_Second.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import sys
from collections import Counter, defaultdict, deque
from bisect import bisect_right, bisect_left
from math import inf, ceil
import math
from heapq import *
# Read a single integer input
read_int = lambda: int(sys.stdin.readline().strip())
# Read a list of integers from a single input line
read_int_list = lambda: list(map(int, sys.stdin.readline().strip().split()))
# Read a tuple of integers from a single input line
read_int_tuple = lambda: tuple(map(int, sys.stdin.readline().strip().split()))
# Read a list of strings from a single input line
read_str_list = lambda: sys.stdin.readline().strip().split()
# Read a list of integers, each digit as a separate element
read_digit_list = lambda: list(map(int, sys.stdin.readline().strip()))
# Read a list of characters from a single input line
read_char_list = lambda: list(sys.stdin.readline().strip())
# Read a single string input
read_str = lambda: sys.stdin.readline().strip()
# Check if a number is even
is_even = lambda x: x & 1 == 0
n1, n2, k1, k2 = read_int_tuple()
if n1 > n2:
print("First")
else:
print("Second")