zoj1009 C according to tutorial