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