An integer \(A\) (\(-10^9 \leq A \leq 10^9\)).
An integer \(V\) (\(1 \leq V \leq 10^9\)).
An integer \(B\) (\(-10^9 \leq B \leq 10^9\)).
An integer \(W\) (\(1 \leq W \leq 10^9\)).
An integer \(T\) (\(1 \leq T \leq 10^9\)).

### Example Input:
```
1 2
3 1
3
```

### Function Signature:
Write a function f(A, V, B, W, T) that takes in the input.
def f(A: int, V: int, B: int, W: int, T: int):
    '''
    A: an integer
    V: an integer
    B: an integer
    W: an integer
    T: an integer
    '''