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