solved another A problem