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