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