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