Input: How many events were at the Olympics in which David Cal was flag bearer for Spain ?
Output: 302