Wash the fruit well, remove the stones and slice the fruit.,Peel and grate the apples.,Boil the sugar and cinnamon sticks in a saucepan with 5 cups of water.,When it begins to form a syrup, add the fruit to the pan and allow to boil, stirring occasionally so the mixture doesn't stick to the pan.,When it thickens and forms bubbles on the surface, remove a spoonful and put it onto a dry white plate, cool quickly and draw the tip of a spoon across it - if it leaves a path, then the jam is ready.,Add the lemon juice and brandy (if desired) and mix for two more minutes.,Remove from the heat, discard the cinnamon sticks and fill the jars, which have been boiled and drained thoroughly.,______