Objective
Given the name of a robot master in Mega Man: Powered Up except the trailing string Man
, output the name of the robot master (again, except the trailing string Man
) whom the inputted robot master has advantage over in fighting (with his weapon).
Mapping
(Input -> Output)
Cut -> Bomb
Bomb -> Ice
Ice -> Fire
Fire -> Oil
Oil -> Elec
Elec -> Time
Time -> Guts
Guts -> Cut
I/O Format
It is implementation-defined whether to accept leading or trailing whitespace on the input.
Outputting a trailing newline in the output is permitted.
Otherwise flexible.