I have a single oven. My ham needs to cook for 2 1/2 hours at 275 °F, my scalloped potatoes need to be cooked at 400 °F for 1 hour. 

Do I put both dishes in the oven at 275 °F and if yes, when do I take my potatoes out?