Allright then,

($a>0) this was sooo painful to see!
($a>) would have been a 119 \:\)

Anyway, everybody likes cake, so here's some cake for you for 112:

 Code:
function a($)
    $a = (instr(cake,substr($,4,1)) + 5 - instr(cake,substr($,instr($,',')+4,1))) mod 5
    $a = $a - 2*($a>2)
endfunction



Wish you all a very merry christmas and a happy new year 2018. may you and you families be well and healthy.

I'll take an errand over the project euler site to polish my python skills a bit, but I guess there will be some more golfing to go on next year!

See you then!
_________________________