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