Bert and Ernie ran the 100-meter dash. The difference of their times was 1.5 s. If Bert won the race in a time of 12.6 s, what was Ernie's time?