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