A gets 30 % marks in an examination but fails by 50 marks, whereas B gets 50 marks more than necessary for passing when he scores 40 %. What is the passing percentage and what are the maximum marks?
35 %, 1000
33 %, 1000
35 %, 900
33 %, 900
What is 'X' in the following table?