Two mechanics worked on a car. The first mechanic charged

$55

per hour, and the second mechanic charged

$115

per hour. The mechanics worked for a combined total of

20

hours, and together they charged a total of

$1400

. How long did each mechanic work?