```py
def TribRec(n):
    if n in {0, 1, 2}:
        return n
    else:
        return TribRec(n-1) + TribRec(n-2) + TribRec(n-3)

def Trib(n):
    for i in range(0, n):
        yield TribRec(i)

res = list(Trib(10))
```
 ```py def TribRec(n): ถ้า n ใน {0, 1, 2}: return n อย่างอื่น: return TribRec(n-1) + TribRec(n-2) + TribRec(n-3) def Trib(n ): สำหรับฉันอยู่ในช่วง (0, n): ให้ผลผลิต TribRec(i) res = list(Trib(10)) ```
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence