text: #include <stdio.h>
  
  int tarai(int x, int y, int z)
  {
      if (x <= y)
          return y;
      return tarai(tarai(x - 1, y, z), tarai(y - 1, z, x), tarai(z - 1, x, y));
  }
  
  int main(void)
  {
      printf("%d\n", tarai(12, 6, 0));
      return 0;
  }
  