you like play chess tournament onlineIn tournament play n game for sake problem chess game won lose draw when lose game 0 point when win 1 2 point win previous game 2 point 1 point if win game tournament 1 point previous gameThe outcome n game represent string s length n ith character s W win ith game L lose ith gameAfter tournament notice bug website allow change outcome k game mean k time change symbol L W W L since goal improve chess rating decide cheat use bugcompute maximum score cheat optimal way