Mathematical calculator for solving unusual task.