Solution from NYC #eci