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