>>622
while (fscanf(fin,"%d",dat) != EOF){
fprintf(fout,"%d\n",dat*3);
}