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