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