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