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