In the world of chess "the task about eight queens" is known since 1850. Her condition is as follows: it is necessary to place 8 queens so that they had no opportunity "to attack" at each other in one course. According to experts, this task has much in common with programming.