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