# [Python 3], 72 bytes <!-- language-all: lang-python --> dict(zip(l:="Cut Bomb Ice Fire Oil Elec Time Guts".split()*2,l[1:])).get [Try it online!][TIO-m40hc15r] [Python 3]: https://docs.python.org/3.8/ [TIO-m40hc15r]: https://tio.run/##FcyxCsIwEADQWb/i6JJEQkFdpNBFUXFycatdrEk9SJOQXAf9@dib3vbilz7B7w8xFds@yxsHkj@M0jVtdZoJjmF6wW0wcMFk4I4Ozs4M8MDJwHWmXNU5OiSpNjvtum3TK1WPhooNCTKgh04sjdAgeGKXjOGPXUqGV5Zjlm/RN@tVTOhJZg1WZqXKHw "Python 3.8 (pre-release) – Try It Online" Creates a dictionary whose keys in order are `Cut, Bomb, ...` (doubled), and whose corresponding values are those with the first item removed. The main function is the `.get` method of the dictionary; if the dictionary itself suffices, those 4 bytes can be cut. Also 72 bytes, using `id` just for as the shortest predefined variable: <!-- language-all: lang-python --> {id:(id:=x)for x in"Cut Bomb Ice Fire Oil Elec Time Guts".split()*2}.get [Try it online!][TIO-m40hgnfn] [Python 3.8 (pre-release)]: https://docs.python.org/3.8/ [TIO-m40hgnfn]: https://tio.run/##FcyxCsIwFIXhWZ/i0iWJlA66SKGLouLk4qYu1qReSJOQ3EJFfPaYOxz@6XzhQ2/vNtsQs@nu@YuvVpZ1szI@wgzoqv1EsPPjE869hiNGDRe0cLC6hyuOGk4TpapJwSJJtVr/mkFT5ncqb7iJ8hc1CCa4ReEwxC0Whzkui1xGxaNdLkJERzLVYGRSKv8B "Python 3.8 (pre-release) – Try It Online" ### [Python], 73 bytes <!-- language-all: lang-python --> lambda s:l[l.index(s)-1] l="Guts Time Elec Oil Fire Ice Bomb Cut".split() [Try it online!][TIO-m40hi9el] [Python]: https://docs.python.org/3.8/ [TIO-m40hi9el]: https://tio.run/##Fc49C8IwEAbg2f6Ko0sSqAVxkUIXRcXJxa126EeKB5c0JCnor4@56YHjvffO/eJntceT82lp34kGM84DhIY6qtHO@iuD2h/6gtryvsUALzQarqQneCLBDb2Gx6ThvJoRLlss6@AIo1RpWT0EQAudyHNRgeAMm/MM77K5h@FOlg@wfE30TbFzHm2UoYIlv6LSHw "Python 3.8 (pre-release) – Try It Online" Uses that indices wrap around into the negatives, so the index before 0 is -1 which selects the last element. ### [Python 3], 73 bytes <!-- language-all: lang-python --> lambda s:"Guts Time Oil Cut Elec Fire | Ice Bomb".split()[ord(s[0])%25%9] [Try it online!][TIO-m40hmyep] [Python 3]: https://docs.python.org/3.8/ [TIO-m40hmyep]: https://tio.run/##Fc29CsIwFAXgWZ/iUChJoIgoghZcFBUnF7faobYpBtIm5KaD4LvH3ulbzo//xo8bt3sfUn98JdsM764BldltioSnGTQexuI8RVysbnE1QeOHe6txcsM7W5G3JkpVudBJqta1yje7/FCn3gUQzIhKzGVRQHCenbsML7HzPMPrLF@y/C/qcrnwwYxRUoFeklLpDw "Python 3.8 (pre-release) – Try It Online" Only looks at the boss's letter (which are all distinct), and uses a mod chain to classify it. Bytestring input would save 5 bytes.