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