X interview question

Find a subset sum for calories using a menu