fn can_reach_end(nums: &[i32]) -> bool {
    // your move
}
