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