print("T"*input().count("tok"))