LearnPy Hub
← Arena
EasyRating 800

Who Has More?

Alice and Bob each wrote some numbers. Print Alice if her sum is larger, Bob if his is larger, otherwise Tie.

Input

Two lines of integers.

Output

Alice, Bob or Tie.

Sample 1

Input
1 2 3
6
Output
Tie

Sample 2

Input
5
1 1 1 1 1 1
Output
Bob
solution.py
Output appears here
Who Has More? · Python Arena problem · LearnPy Hub