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