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