On Thursday afternoon at camp, Nora played basketball and went swimming before dinner. She started playing basketball at 2:50 P.M. and played for 1 hour and 45 minutes. Then she swam for 50 minutes. Dinner lasted for 1 hour. What time did dinner end?