Apple interview question

How do you handle tasks given by 2 different managers at the same time