Skip to content

Baekjoon 21867

1. Problem

문제 확인하기

2. Solution

1. Python (memory: 33036KB, time: 52ms)

N, S = int(input()), input()
result = ''.join(c for c in S if c not in "JAVA")
print(result if result else "nojava")