There are 6 baskets on the table. Each basket has 19, 20, 18, 5, 14 and 12 apples. Emma chose third, Matt chose fourth, Sean chose sixth, Olivia chose second, Liam chose first, and John chose fifth. How many apples did John and Matt choose in total?