Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
"""
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