Jays demonstrate “flexible tactics” by switching between storing food and stealing from other birds’ stashes, scientists find.