3
10 2
30 28 1 2 1 2
L
W
1000000008 6
36 34 4 7 29 351
L
W
LL
LW
WL
WW
5 3
10 5 1 2 1 2
WWLW
LW
LWLW