code: def synthetic_univariate_ts():
      """Method returns InputData for classical time series forecasting task"""
      task = Task(
          TaskTypesEnum.ts_forecasting,
          TsForecastingParams(forecast_length=_FORECAST_LENGTH),
      )
      # Simple time series to process
      ts_train = np.array(
          [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130]
      )
      ts_test = np.array([140, 150, 160, 170])
  
      # Prepare train data
      train_input = InputData(
          idx=np.arange(0, len(ts_train)),
          features=ts_train,
          target=ts_train,
          task=task,
          data_type=DataTypesEnum.ts,
      )
  
      start_forecast = len(ts_train)
      end_forecast = start_forecast + _FORECAST_LENGTH
      predict_input = InputData(
          idx=np.arange(start_forecast, end_forecast),
          features=ts_train,
          target=None,
          task=task,
          data_type=DataTypesEnum.ts,
      )
      return train_input, predict_input, ts_test
  
imports: import logging
  from copy import deepcopy
  import numpy
  import pytest
  from golem.core.log import default_log
  from fedot.core.data.data import InputData
  from fedot.core.data.data_split import train_test_data_setup
  from fedot.core.data.multi_modal import MultiModalData
  from fedot.core.operations.evaluation.operation_implementations.data_operations.ts_transformations import _sparse_matrix, prepare_target, ts_to_table
  from fedot.core.optimisers.objective import MetricsObjective, PipelineObjectiveEvaluate
  from fedot.core.optimisers.objective.data_source_splitter import DataSourceSplitter
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.pipelines.pipeline_builder import PipelineBuilder
  from fedot.core.pipelines.tuning.tuner_builder import TunerBuilder
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.tasks import Task, TaskTypesEnum, TsForecastingParams
label_desc: Use image node_id 3 for calling a global function with example usage: synthetic_univariate_ts() and returns: train_input,  predict_input,  ts_test