var nums = @[1, 2, 3, 4, 5]

proc print_part[T] (myList: seq[T]) =
    for elem in myList[2..^1]:
        echo elem

print_part nums