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