On Sunday night, Joe worked harder and earned $20 more than Terry. Their total earnings were $410. Terry and Joe earned $ <input min="0" type="number" id="imp4pg065q5_1" class="lineinput" placeholder="?"> and $ <input min="0" type="number" id="imp4pg065q5_2" class="lineinput" placeholder="?"> respectively on Sunday night.