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