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