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