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