보안을 그리다, 훈이

[Baekjoon/Python3] 17388번 와글와글 숭고한 본문

Programming/Python & Data Structures

[Baekjoon/Python3] 17388번 와글와글 숭고한

HooNeee 2020. 12. 8. 18:09

[Baekjoon/Python3] 17388번 와글와글 숭고한

 

www.acmicpc.net/problem/17388

 

17388번: 와글와글 숭고한

첫 번째 줄에 숭실대학교의 참여도, 고려대학교의 참여도, 한양대학교의 참여도를 의미하는 세 자연수 S, K, H가 공백으로 구분되어 주어진다. (0 ≤ S, K, H ≤ 100) 세 대학의 참여도는 모두 다르다.

www.acmicpc.net

 

s, k, h = map(int, input().split())
if s + k + h >= 100:
    print('OK')
else:
    if min(s, k, h) == s:
        print('Soongsil')
    elif min(s, k, h) == k:
        print('Korea')
    else:
        print('Hanyang')
Comments