### Input Description:

A single line of English text (including alphanumeric characters, spaces, and symbols) with a length of 1000 characters or less. 
"peach" and "apple" will always be in the text.

### Example Input:

```
the cost of one peach is higher than that of one apple.
```

### Function Signature:

Write a function `f(text)` that takes in the input.

def f(text: str):
    ''' 
    text: a string of length up to 1000 characters
    '''
