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