document.write( "Question 1341: my daughter has homework but I can not help her, the question is to find the rule of the following input and output;
\n" ); document.write( "INPUT OUTPUT
\n" ); document.write( "1 36
\n" ); document.write( "2 33
\n" ); document.write( "3 30
\n" ); document.write( "4 27
\n" ); document.write( "5 24\r
\n" ); document.write( "\n" ); document.write( "please answer this my daughter will be very happy and i will tell her all about you!
\n" ); document.write( "

Algebra.Com's Answer #407 by usyim88hk(158)\"\" \"About 
You can put this solution on YOUR website!
Output = 39 - (Input)*3
\n" ); document.write( "(Output is equal to 39 minus triple the input)
\n" ); document.write( "-----------------------------------------------
\n" ); document.write( "when input is one
\n" ); document.write( "Output = 39 - (1)*3
\n" ); document.write( "Output = 39 - 3
\n" ); document.write( "Output = 36
\n" ); document.write( "-----------------------------------------------
\n" ); document.write( "when input is two
\n" ); document.write( "Output = 39 - (2)*3
\n" ); document.write( "Output = 39 - 6
\n" ); document.write( "Output = 33
\n" ); document.write( "-----------------------------------------------
\n" ); document.write( "So that's how it works
\n" ); document.write( "
\n" );