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