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