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