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