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