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