title: Brainfuck challenge
body: <p>I have a any challenge. I must write brainfuck-code.</p>
  
  <p>For a given number n appoint its last digit .</p>
  
  <p>entrance</p>
  
  <p>Input will consist of only one line in which there is only one integer n ( 1 &lt; = n &lt; = 2,000,000,000 ) , followed by a newline ' \ n' (ASCII 10).</p>
  
  <p>exit</p>
  
  <p>On the output has to find exactly one integer denoting the last digit of n .</p>
  
  <p>example I
  entrance: 32
  exit: 2</p>
  
  <p>example II:
  entrance: 231231132
  exit: 2</p>
  
  <p>This is what I tried, but it didn't work:</p>
  
  <pre><code>+[&gt;,]&lt;.&gt;++++++++++.
  </code></pre>