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