The tickets to a ballet cost either $25 or $50. A total of 1,250 tickets, worth $50,000, were sold. If x represents the number of $25 tickets and y represents the number of $50 tickets, which system of linear equations can be used to find the number of each type of ticket sold?