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