John bought two types of bulbs A and B at Ksh 60 and Ksh 56 respectly. He bought a total of 50 bulbs of types at of Ksh 2872. determine the number of Type A bulbs that he bought.

add up the bulbs and the costs:

A+B = 50
60A+56B = 2872
so now find A.