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