Implement the functionality to determine the winner of a game between two players, Takahashi and Aoki, based on the rules provided. The task requires you to write the solution in a Python file named /app/solution.py.
Functionality:
Create a function named determine_winner that takes a string s as input.
The string s will have a length of 3 or greater, consisting of lowercase English letters, and will not contain any two neighboring equal characters.
The game involves players alternately removing characters from the string s, excluding both ends, with the condition that a character cannot be removed if it would result in two neighboring equal characters.
Determine which player wins based on the rules: if a player cannot make a legal move, they lose. The string operation should consider the sequence of characters and their positions.
Input/Output Requirements:
Input:
A single string s (3 ≤ len(s) ≤ 100) consisting of lowercase English letters.
Output:
Return "First" if Takahashi wins, otherwise return "Second" if Aoki wins.
Implementation Example:
python
# Example Usage
result = determine_winner("abcde") # Expected output: "First"
Ensure that the code adheres to the function signature provided, and properly handles the logic to determine the winner based on the game rules.