Skip to content

Instantly share code, notes, and snippets.

@showyou
Created April 7, 2019 02:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save showyou/978874d8cb7f5eecb5cf62946e603503 to your computer and use it in GitHub Desktop.
Save showyou/978874d8cb7f5eecb5cf62946e603503 to your computer and use it in GitHub Desktop.
T = int(input())
cnt = 1
for _ in range(T):
size = int(input())
L = input()
result = ""
for l in L:
result += "S" if l == "E" else "E"
print("Case #"+str(cnt)+":", result)
cnt += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment