Waits for any input and returns an enumeration, defined in this class, that indicates which AID key is expected.