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