Sanji and his 34 classmates always bring sandwiches to school for lunch. One day, everyone brought either a jelly sandwich, or a ham and cheese sandwich, or a tuna salad sandwich.

If the number of students who brought jelly sandwiches (\(J\)) was twice the number who brought ham and cheese (\(H\)), and four times the number who brought tuna salad (\(T\)), how many sandwiches were there of each type?

Hint: What should the total number of sandwiches be?

You may find the table useful for the ‘guess and check’ method.