P303 - f(n) works
finishing really sloooooow version