#include<stdio.h>

main()

{

int x=x, f=f, i=1;

scanf("%d", &f);

while(f>5)

{

f= f-4;

}

x=f;  

A: 

if(1<=x<3)

{

x = x*x -2*x + 3;

goto B;

}


if(3<=x<5)

{

x = 12 - 2*x;

goto B;

}

B: i =  i+1;

if(i<3)goto A;


printf("%d",f);

printf("\n%d", x);

return(0);

}


여기서 왜 12를 입력하면 4가 안나올까요ㅠㅠ

14일때는 6이 나옵니다