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