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