In a bowl, beat the egg yolks with the sugar. Then add the melted margarine and beat again;Aside, beat the egg whites;
Add, alternately, the egg whites and flour, and gently wrap;
Grease a pan with margarine and sprinkle with flour, or line with parchment paper;
Cut the apples into slices;
Place a layer of apples, and a layer of dough, and then repeat the process by this order finishing with the apples, sprinkling them with sugar and cinnamon;
Bake for approximately 40m;
After leaving the oven, let it cool and add Apple jam to taste on the cake.