Decode ways