On the playground the teacher observed bicycles and tricycles. she counted 72 wheels and 28 total cycles. How many of them were bicycles and how many of them were tricycles?​