CODE2040 Challenge Solution