[#1] [E-99] Working solution for P18.
[#1] [E-99] Working solution for P19.
[#1] [E-99] Working solution for P20.
[#1] [E-99] P20: Fixing one case more strict than previous version.