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