Are you a friends ? c++ example

<h2 data-original-attrs="{&quot;style&quot;:&quot;&quot;}" dir="ltr" style="color: rgb(0, 0, 0); font-family: &quot;Times New Roman&quot;;">Question</h2><h4 data-original-attrs="{&quot;style&quot;:&quot;&quot;}" dir="ltr" style="color: rgb(0, 0, 0); font-family: &quot;Times New Roman&quot;; font-size: medium;">Given two integers. your task is to find if these integers are friends or not integers considered a friend if both are odd or both are even otherwise they are not friends.<br>Constraints<br>1 &lt;= (a, b) &lt;= 1000<br>Input Format<br>one line contains two integers in this format :<br>a b<br>Output Format:<br>print "homies" without the quotes if they are friends, otherwise print "!homies" without the quotes</h4><div><br></div>