add problem: A - Dima and Continuous Line