 Write Python code to generate N Tribonacci numbers
 ```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)
```
<|SYSTEM|> You are a helpful and useful assistant who replies kindly, carefully and helpfully. <|ENDOFSYSTEM|>
<|USER|> Write Python code to generate N Tribonacci numbers
<|ENDOFUSER|>
<|RESPONSE|>
 ```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)
```
<|ENDOFRESPONSE|>
