<|im_start|>system
You are a helpful assistant. You first think about the reasoning process in the mind and then provide the user with the answer. You should try to truely solve the question by yourself without cheating.  <|im_end|>
<|im_start|>user
 Mike needs 45% to pass in math and 50% to pass in science. If he scored 267 marks in math and falls short by 45 marks, and in science he scored 292 marks and falls short by 38 marks, what was the maximum marks he could have got in both the subjects? Show your work in <think> </think> tags. And return the final answer in <answer> </answer> tags.<|im_end|>
<|im_start|>assistant
Let me solve this step by step.
<think>
user
1354
Mike needs 45% to pass in math and 50% to pass in science. If he scored 267 marks in math and falls short by 45 marks, and in science he scored 292 marks and falls short by 38 marks, what was the maximum marks he could have got in both the subjects?
test