For a qualification 2/5 of the marks were given for coursework. The rest of the marks were given for a written paper of which 3/8 were given for a mental test. Total marks were out of 120. How many marks were given for the mental test.

A ) 30

B ) 55

C ) 27 ✅

D ) 45