John has two types of boxes. The smaller box can store 8 tins of coffee and the bigger box can store 12 tins of coffee. If the total number of boxes is 20 and he has 184 tins of coffee, by forming a pair of simultaneous equations, find the number of each kind of box.​