Alan, david and shari are running for president of their high school. There were a total of 1,000 votes cast for president. David received 1/4 of the votes, while shari earned 2/5 of the votes. Alan received the remaining votes. What was the total number of votes Alan received?