A person with an unknown blood group under the ABO system, has suffered much blood loss in an accident and needs an immediate blood transfusion. His one friend who has a valid certificate of his own blood type offers blood donation without delay. What would have been the type of blood group of the donor friend?