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