DIM A AS LONG
DIM T AS LONG
DIM N AS LONG
FUNCTION F (x AS INTEGER) AS LONG
F = 2*(x-7)*(x-7)+7*x+7
END FUNCTION
FUNCTION G (x AS INTEGER) AS LONG
G = 3*x*x - 107
END FUNCTION
A = 0: N = 20
FOR T = 1 TO 20
IF F(N) >= G(T) THEN
A = A + 1
END IF
NEXT T
PRINT A