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