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