According to the examination results of a class, X ranked 11th from the top and 30th from the bottom amongst those who passed the examination. 6 students did not give the examination whereas 4 failed in it. How many students are there in the class?
1
49
2
51
3
50
4
52