UBS interview question

Write simple programmes.