%{
#include<stdio.h>
int lines=0,tabs=0,spaces=0,chars=0;
%}
%%
\n{lines++,chars++}
\t{tabs++,chars++}
""{spaces++,char++}
.{chars++}
%%
int yywrap(){return 1;}
int main(){
printf("Enter the statement:");
yylex();
return 0;
}
JXsKICAjaW5jbHVkZTxzdGRpby5oPgogIGludCBsaW5lcz0wLHRhYnM9MCxzcGFjZXM9MCxjaGFycz0wOwolfQolJQpcbntsaW5lcysrLGNoYXJzKyt9Clx0e3RhYnMrKyxjaGFycysrfQoiIntzcGFjZXMrKyxjaGFyKyt9Ci57Y2hhcnMrK30KJSUKaW50IHl5d3JhcCgpe3JldHVybiAxO30KaW50IG1haW4oKXsKICBwcmludGYoIkVudGVyIHRoZSBzdGF0ZW1lbnQ6Iik7CiAgeXlsZXgoKTsKICByZXR1cm4gMDsKfQo=