Back
Close

Kaomoji RPS!

Statement
L(>_<)/ is mega strong and will win over Q(. _. )/ and z(<_< )z U(^ . ^)/ is super swift and will win over L(>_<)/ and Q(. _. )/ Q(. _. )/ is hyper stealthy and will win over z(<_< )z and U(^ . ^)/ z(<_< )z is ultra quick and will win over U(^ . ^)/ and L(>_<)/ IF there is a draw, the player with the lowest number wins! Who wins the tournament? `1vs2\` ` Winner of 1vs2 vs Winner of 3vs4` `3vs4/ \` ` Who will be the ultimate winner?` `5vs6\ /` ` Winner of 5vs6 vs Winner of 7vs8` `7vs8/` ᕙ( ᐛ)ᕗ ヽ( ᐛ)ノ ٩( ᐛ)و ᕕ( ᐛ)ᕗ I actually wanted the Kaomojis to look like this, but Unicode was frowned upon T _ T

Input description
String [[k]] with comma separated Kaomoji.

Output description
Kaomoji of winning player

Constraints

Game modes
Fastest, Shortest

Test cases
Test 1 Test
Input
z(<_< )z,L(>_<)/,U(^ . ^)/,z(<_< )z,z(<_< )z,Q(. _. )/,z(<_< )z,L(>_<)/
Output
Q(. _. )/

Validator 1 Validator
Input
Q(. _. )/,L(>_<)/,L(>_<)/,z(<_< )z,U(^ . ^)/,L(>_<)/,L(>_<)/,L(>_<)/
Output
U(^ . ^)/

Test 2 Test
Input
z(<_< )z,Q(. _. )/,z(<_< )z,U(^ . ^)/,z(<_< )z,Q(. _. )/,Q(. _. )/,L(>_<)/
Output
L(>_<)/

Validator 2 Validator
Input
Q(. _. )/,U(^ . ^)/,Q(. _. )/,Q(. _. )/,L(>_<)/,U(^ . ^)/,U(^ . ^)/,Q(. _. )/
Output
Q(. _. )/

Test 3 Test
Input
L(>_<)/,U(^ . ^)/,L(>_<)/,L(>_<)/,U(^ . ^)/,L(>_<)/,z(<_< )z,z(<_< )z
Output
z(<_< )z

Validator 3 Validator
Input
U(^ . ^)/,L(>_<)/,Q(. _. )/,Q(. _. )/,L(>_<)/,L(>_<)/,L(>_<)/,U(^ . ^)/
Output
U(^ . ^)/

Test 4 Test
Input
U(^ . ^)/,L(>_<)/,Q(. _. )/,U(^ . ^)/,L(>_<)/,z(<_< )z,U(^ . ^)/,z(<_< )z
Output
U(^ . ^)/

Validator 4 Validator
Input
L(>_<)/,Q(. _. )/,L(>_<)/,L(>_<)/,U(^ . ^)/,z(<_< )z,L(>_<)/,U(^ . ^)/
Output
L(>_<)/

Test 5 Test
Input
Q(. _. )/,z(<_< )z,L(>_<)/,L(>_<)/,U(^ . ^)/,Q(. _. )/,L(>_<)/,Q(. _. )/
Output
U(^ . ^)/

Validator 5 Validator
Input
L(>_<)/,z(<_< )z,L(>_<)/,L(>_<)/,z(<_< )z,Q(. _. )/,U(^ . ^)/,Q(. _. )/
Output
L(>_<)/

Test 6 Test
Input
L(>_<)/,L(>_<)/,U(^ . ^)/,z(<_< )z,z(<_< )z,z(<_< )z,z(<_< )z,z(<_< )z
Output
L(>_<)/

Validator 6 Validator
Input
L(>_<)/,U(^ . ^)/,U(^ . ^)/,z(<_< )z,z(<_< )z,L(>_<)/,z(<_< )z,U(^ . ^)/
Output
z(<_< )z

Solution language

Solution

Stub generator input