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