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