The function shifts each character in the input string to the next character in the alphabet, wrapping around from 'z' to 'a' and 'Z' to 'A', and leaving non-alphabetic characters unchanged.

[CODE]:
```python
def shifted_string(input_string):
    output = ""
    for char in input_string:
        if char.isalpha():
            if char == 'z':
                output += 'a'
            elif char == 'Z':
                output += 'A'
            else:
                output += chr(ord(char) + 1)
        else:
            output += char
    return output
```