Solved 1018.