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