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