what is the unit digit in the product ( 3 ^ 65 x 6 ^ 59 x 7 ^ 71 )?	Choose the correct choice:
A) 18
B) 12
C) 69
D) 32
E) 4
<gadget id="calculator">3 * 6</gadget>
<output>18</output>

<gadget id="calculator">18 * 3</gadget>
<output>54</output>

<gadget id="calculator">54 - 4</gadget>
<output>50</output>

<gadget id="calculator">54 - 50</gadget>
<output>4</output>

<result>E</result>
what is the unit digit in the product ( 3 ^ 65 x 6 ^ 59 x 7 ^ 71 )?
subtract(multiply(multiply(3, 6), 3), subtract(multiply(multiply(3, 6), 3), const_4))
explanation : unit digit in 3 ^ 4 = 1 unit digit in ( 3 ^ 4 ) 16 = 1 unit digit in 3 ^ 65 = unit digit in [ ( 3 ^ 4 ) 16 x 3 ] = ( 1 x 3 ) = 3 unit digit in 6 ^ 59 = 6 unit digit in 7 ^ 4 unit digit in ( 7 ^ 4 ) 17 is 1 . unit digit in 7 ^ 71 = unit digit in [ ( 7 ^ 4 ) 17 x 73 ] = ( 1 x 3 ) = 3 required digit = unit digit in ( 3 x 6 x 3 ) = 4 e