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