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