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