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