115.c: done
117.c : quick sqrt with mod