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