Input (grade 10): The youngest son of Máel Coluim III and Margaret, David spent most of his childhood in Scotland, but was exiled to England temporarily in 1093.
Output (grade 2): David I of Scotland (b. 1084 - d. May 24, 1153) was the son of Malcolm Canmore and Saint Margaret.