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