At a bicycle store, there were a bunch of bicycles and tricycles. If there were 28 seats and 62 wheels, how many bicycles and how many tricycles were there?