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