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