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