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