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