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