Add cleaned.cpp and input

The second task from B group.