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