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