My solution on SysGear TestTasks.