Move your mouse pointer towards the apples, and the cat will follow you. Keep dragging the mouse pointer until all the apples have disappeared.
I used a scratch book I bet everyone has :)