INPUT "vvedite n"; n
DIM a(n)
FOR i = 1 TO n
INPUT "vvedite element"; a(i)
NEXT
s = 0
p = 1
FOR i = 1 TO n
IF a(i) > 0 THEN s = s + a(i): p = p * a(i): k = k + 1
NEXT
FOR i = 1 TO n
PRINT a(i);
NEXT
sra = s / k
srg = p ^ (1 / k)
PRINT
PRINT "sra"; sra
PRINT "srg"; srg