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