Mr Gan has fewer than 20 candies.He wants to pack them into plastic bags.If he packs 3 candies in each bag,he will have 4 extra candies left over.If he packs 5 candies in each bag,he will be short of 2 candies.How many candies does he have?​