Back to Problem List

W or L


Given a random combination of 'W's and 'L's, output which letter appears more

INPUT FORMAT:

A string s of length l (l is odd, l < 1e6) containing Ws and Ls

OUTPUT FORMAT:

W or L

SAMPLE INPUT:

WWWWLLLLLLWWWW

SAMPLE OUTPUT:

W


SAMPLE INPUT:

LWLWLWLLLW

SAMPLE OUTPUT:

L

Write code below: