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