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