Valid solution with WA