백준 BAEKJOON 34217번 찾아오시는 길 [PYTHON/파이썬]

문제 출처 (BRONZE Ⅴ)

https://www.acmicpc.net/problem/34217

 

 

 

 

 

 

풀이

단순하게 대소 비교를 하여 풀었다.

 

 

 

 

 

코드

A, B = map(int, input().split())
C, D = map(int, input().split())

if A + C < B + D:
    print("Hanyang Univ.")
elif A + C > B + D:
    print("Yongdap")
else:
    print("Either")