The vivandière sold viands and sandwiches. If she sold 300 total and 50 more viands than sandwiches, how many of each did she sell?