Need help to solve "Chef helping Blob" from "Winter Code"

This is the problem link.I was trying to solve the problem but couldn’t find any idea. There is no editorial yet and don’t know if they will provide any. Can anybody help to solve this problem?
Thanks in advance!