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