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