An integer A (-10^9 ≤ A ≤ 10^9).
An integer V (1 ≤ V ≤ 10^9).
An integer B (-10^9 ≤ B ≤ 10^9).
An integer W (1 ≤ W ≤ 10^9).
An integer T (1 ≤ T ≤ 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 
    '''