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