\documentstyle[]{article}

\begin{document}

This is a normal example (document 2). It uses two input files:

\newcommand{\myinput}[1]{\input{#1}}

\myinput{input1.tex}
\myinput{input2.tex}

\end{document}
