\documentclass[class=minimal]{standalone}

\usepackage{tikz}
\usetikzlibrary{shapes.geometric}

\def\index{{0, 0, 1, 0, 2, 2, 3, 3}}
\def\input{{5, 1, 7, 2, 3, 2, 1, 3}}
\def\output{{8, 7, 5, 4}}
\def\color{{"cyan", "orange", "olive", "magenta"}}
\def\numberInputs{7}
\def\numberOutputs{3}
\def\operation{+}

\newcommand{\tiny}[1]{\scalebox{0.45}{#1}}

\begin{document}

\input{template}

\end{document}
