title"><span class="caption-number">Exercise 35 </span></p>
<div class="section" id="exercise-content">
<p>Modify <span class="math notranslate nohighlight">\(\writeprog\)</span>
to get a program <span class="math notranslate nohighlight">\(\writetotwo\)</span>
with the following feature:
If <span class="math notranslate nohighlight">\(\writetotwo\)</span> is started with  <span class="math notranslate nohighlight">\(x\)</span> in R1
and R2 empty, we eventually halt  with a
word
<span class="math notranslat