solve 1003