Man gives cashier riddle about coins