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