Writing a program is often the most efficient way to solve a task.