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