q A p