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