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