Input (grade 10): He was son of Malcolm III (Máel Coluim mac Donnchada) and his first wife Ingibiorg Finnsdottir, widow of Thorfinn Sigurdsson.
Output (grade 9): Donnchad mac Maíl Coluim (Modern Gaelic: Donnchadh mac Mhaoil Chaluim) Donnchad mac Maíl Coluim is the Mediaeval Gaelic form renamed as Duncan II (before c. 1060 & ndash; 12 November 1094) was king of Scots.