In the morning, Mike planted 50 tomato seeds.
Ted planted twice as much as Mike, so he planted 2 * 50 = 100 tomato seeds in the morning.
Altogether, in the morning, they planted 50 + 100 = 150 tomato seeds.
In the afternoon, Mike planted 60 tomato seeds.
Ted planted 20 fewer tomato seeds than Mike, so he planted 60 - 20 = 40 tomato seeds in the afternoon.
Altogether, in the afternoon, they planted 60 + 40 = 100 tomato seeds.
In total, they planted 150 + 100 = 250 tomato seeds.
#### 250
The answer is: 250
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
Mike and Ted planted tomatoes.  In the morning, Mike planted 50 tomato seeds while Ted planted twice as much as Mike.  In the afternoon, Mike planted 60 tomato seeds while Ted planted 20 fewer tomato seeds than Mike. How many tomato seeds did they plant altogether?

### Answer:
