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