Create project
Add infrastructure
Solve problem G
Refactor input reading
Solve F