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