Sample program: template.