A money puzzle