help in solving Chef and Digits