Out of 400 students who attended a seminar, 240 opted for written exam, 200 opted for presentations, 160 opted for assignments and 20 did not opt for giving any of the three methods of test. 200 students had exactly one of the three methods of test. How many students opted for exactly two of the three testing methods?