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