P1003 solved!