In an exam P attempted 40 questions so far and 30% of them are correct. If P attempt remaining z ques out of which Y% are correct, so the number of correct and incorrect question is same. If out of z question attempted 90% are correct so total correct question attempted is (Y+24). Find the total number of questions.