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