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