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