#!/bin/bash

cat << InputData
f n1 n2 n3
n1 1 2 3
n2 1 2 3
n3 1 2 3
InputData