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