Objective
Given a list of three Wuxings, compare them in rock-paper-scissors fashion, and output which Wuxing is the winner.
Wuxings
Wuxings(五行) are the five "elements" in Chinese philosophy. They are Fire(火), Water(水), Wood(木), Metal(金), and Soil(土).
Positive actions
A positively acted Wuxing gains 1 point.
- Fire fertilizes Soil.
- Soil incubates Metal.
- Metal is a container for Water.
- Water nourishes Wood.
- Wood fuels Fire.
Negative actions
A negatively acted Wuxing loses 1 point.
- Fire melts Metal.
- Metal chops Wood.
- Wood penetrates Soil.
- Soil blocks Water.
- Water extinguishes Fire.
I/O format
You can encode the Wuxings freely, but you must represent each Wuxing consistently in the input and the output.
The inputted list is not assumed to be sorted.
Otherwise Flexible.
Examples
Input, Score, Winner
[Fire, Water, Wood], [0, 0, +1], Wood
[Fire, Water, Metal], [-1, +1, -1], Water
[Fire, Fire, Water], [-1, -1, 0], Water
[Fire, Water, Water], [-2, 0, 0], Water
[Fire, Fire, Wood], [+1, +1, 0], Fire
[Fire, Wood, Wood], [+2, 0, 0], Fire
[Fire, Fire, Fire], [0, 0, 0], Fire
Note that this exhausts all possibilities up to symmetry, and every case admits a unique winner.