12=1500*((f-217)/(f%2