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