Maximize Score After N Operations — CaffeCode