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