title: I am trying to compare two Tuples
body: <p>I am trying to write a function to compare tuples of similar type.</p>
  
  <pre><code>def compareTuples(tuple1: (String, String, Int), tuple2: (String, String, Int)): (String, String, Int) = {
     // if tuple1.Int &lt; tuple2.Int return tuple1 else tuple2.
  }
  </code></pre>
  
  <p>How do I access the third element or the int in each tuple?</p>
  
  <p>Thanks</p>