Help me in solving LPYAS162 problem

My issue

include <stdio.h>

int main()
{
int n,f1=0,f2=1,f3;
scanf(“%d”,&n);
printf(“%d\n”,f1);
printf(“%d\n”,f2);
f3=f1+f2;
while(f3<=34)
{
printf(“%d\n”,f3);
f1=f2;
f2=f3;
f3=f1+f2;

}

// your code goes here

}

My code

#include <stdio.h>

int main() 
{
    int n,f1=0,f2=1,f3;
    scanf("%d",&n);
    printf("%d\n",f1);
    printf("%d\n",f2);
    f3=f1+f2;
    while(f3<=34)
    {
        printf("%d\n",f3);
        f1=f2;
        f2=f3;
        f3=f1+f2;
        
    }
    
	// your code goes here

}


Learning course: Algorithmic Problem Solving
Problem Link: https://www.codechef.com/learn/course/klu-problem-solving/KLUPS00A/problems/LPYAS162