P1:=21;P2:=60; MC:MA(C,P1); MO:MA(O,P2); UPC1:=2*H-MC; UPC2:=2*H-MO; DNC1:=2*MC-L; DNC2:=2*MO-L; UD1:UPC1*2-DNC1; UD2:DNC2*2-UPC2;