Decode ways solution