%{
#define YYSTYPE double
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
%}

%token TotalSteps
%token INT


%%

entrada: 
	| entrada  linha
	;

linha:   '\n'
        | TotalSteps INT '\n' {printf("%d\n",$2);}
	| error '\n' {yyerrok;}
	;


%%

main()
{
    yyparse();
}

yyerror(s)
char *s;
{
}
