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