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