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