fn pairwise(arr: &[i64], target: i64) -> i64 {
    // your move
}