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