Apples in puff pastry

0,5 kg of flour, pinch of salt, 0.5 kilograms and 2 table-spoons butter, 350 ml of cold water, 5-6 apples, 1 egg. For decoration: sugar powder, poppy, nuts.
Sift 0,5 kilogram of flour, add a pinch of salt, 2 table-spoons of butter, stir. Then gradually pour 350 ml of cold water. Knead the dough. The surface of the table, sprinkle with flour. Place the dough and make a rectangle using a rolling pin. The width of the test should not exceed 1,5 see, put in the middle of 0,5 kg of butter, lubricate them the dough with a spoon. Fold the edges. Remove the cold for 15-20 minutes. Make a layer dough on the width of 0.5 centimeters. Cut into squares where to put the peeled slices of apple (sour apples, sprinkle with sugar). Make envelopes and brush them with beaten egg. Bake at 200 degrees until Golden hue. Pulling out of the oven, sprinkle with powdered sugar, poppy seeds or nuts or whipped cream.