In the food pantry, there were originally 17 cans of beans. Over the course of the day, some cans were distributed to people, and at the end of the day, there were 13 cans left. How many cans of beans were distributed that day?