Mario is trying to figure out the following puzzle