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