code: def find_ngrams(input_list: Sequence, n: int) -> list[tuple]:
      return list(zip(*[input_list[i:] for i in range(n)]))
  
imports: from __future__ import annotations
  from itertools import permutations, product
  from typing import Sequence
label_desc: Use image node_id 2 for calling a global function with example usage: find_ngrams(input_list, n) and returns: list