I have fixed coordinate handling to pass corner cases.
Now, could you accept publications?
PS: 40pts for solving this task is missing from my points history
14
17
11