>>906

#include<stdio.h>
main()
{
int k,i;
for(i=1;i<352;i++){
if((i*352+1)%109==0) {i=352;k=(i*352+1)/109;}
}
printf("%d\n",k);
}


cですがこんな感じです