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