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