FUNCTION MAIN RETURNS INTEGER RETURN 0 ENDFUNCTION