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