Checking the lucky numbers in a fortune cookie