```python
def tribonacci(n):
    if n == 0 or n == 1:
        return 0
    if n == 2:
        return 1
    return tribonacci(n-1) + tribonacci(n-2) + tribonacci(n-3)
```
 ```python def tribonacci(n): ถ้า n == 0 หรือ n == 1: ให้คืนค่า 0 ถ้า n == 2: ให้คืนค่า 1 ให้คืนค่า tribonacci(n-1) + tribonacci(n-2) + tribonacci(n- 3) ```
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence