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