Knowing when to give candy to kids can mean the difference of going to jail and staying out of jail.