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