You have a total of 42 math and science problems for homework. You have 10 mote math problems than science problems. How many problems do you have in each subject?