Input (grade 9): He was born Hovhannes (Onik) Karapetyan in the city of Alexandropol, then part of the Russian Empire (now Gyumri, Armenia).
Output (grade 9): He was born Hovhannes (Onig) Garabedyan in the city of Alexandropol, then part of the Russian Empire (now Gyumri, Armenia).