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