Solve fs4.c