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