Beakjoon&프로그래머스/파이썬
[백준/파이썬] 24088번 運動会 (Sports Day)
현장
2024. 1. 16. 17:54
-.Code
n = int(input())
k = int(input())
s = input()
r_cnt = s.count('R')
print("R" if r_cnt < k else "W")