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