W or L

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

Input Format

A string SSS​ of length lll​ (lll​ is odd, l<106l < 10^6l<106​) containing Ws and Ls

Output Format

W or L

Sample Input 1

WWWWLLLLLLWWWW

Sample Output 1

W

Sample Input 2

LWLWLWLLLW

Sample Output 2

L

Submit