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