Sometimes Julia feels like cheating - eviltoast

I just tried my first problem on Codewars and realised: This solution feels like cheating