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