Skip to content

Instantly share code, notes, and snippets.

@IKKO-Ohta
Last active July 21, 2017 08:51
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 IKKO-Ohta/cefa8c381c49f4dc53456ae77b422ce8 to your computer and use it in GitHub Desktop.
Save IKKO-Ohta/cefa8c381c49f4dc53456ae77b422ce8 to your computer and use it in GitHub Desktop.
"""
thanks to http://abc039.contest.atcoder.jp/submissions/761908
"""
st = input().rstrip()
ans = ["Do","Do","Re","Re","Mi","Fa","Fa","So","So","La","La","Si"]
wb = "WBWBWWBWBWBW" * 5
print(ans[wb.find(dy)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment