# [Python 3], 40 bytes <!-- language-all: lang-python --> lambda n:~-n*12-[*[-1,3,3,1][n-1:],0][0] [Try it online!][TIO-k68ivul3] Not shorter than [Noodle9's answer](https://codegolf.stackexchange.com/a/198954/91097) but I thought this index out of range default might be useful to people. [Python 3]: https://docs.python.org/3/ [TIO-k68ivul3]: https://tio.run/##DcJBCsIwEAXQq3y6SkoGOnZX0IuMs4hodECnJXRTSr16lPeWbX3NPraCM67tnT@3e4ZPX/KeTyS9EKfxj1WceNI0qAzaZKnmayjdbgfogr0Ei0cXUeYKgzlq9ucjcGKO2n4 "Python 3 – Try It Online"