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