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