https://www.acmicpc.net/problem/10886
import sys
input=sys.stdin.readline
chan,ban=0,0
n=int(input())
for i in range(n):
a=int(input())
if a==1:
chan+=1
else:
ban+=1
if chan>ban:
print("Junhee is cute!")
else:
print("Junhee is not cute!")
'๐ฏ์๊ณ ๋ฆฌ์ฆ > ํ์ด์ฌ ๊ธฐ๋ณธ ์๊ณ ๋ฆฌ์ฆ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[๋ฐฑ์ค/Python] 15917:๋ ธ์๋ธ ๋ฐฉ์ง๋ฌธ์ ์ผ!! (0) | 2023.07.01 |
---|---|
[๋ฐฑ์ค/Python] 11006: ๋จ์ฑ์ด์ ๋ญ์ฅ (0) | 2023.07.01 |
[๋ฐฑ์ค/Python] 20540:์ฐ๊ธธ์ด์ ์ด์ํ (0) | 2023.07.01 |
[Python/BOJ]2010: ํ๋ฌ๊ทธ (0) | 2023.07.01 |
[Python/BOJ]2420: ์ฌํ๋ฆฌ์๋ (0) | 2023.07.01 |