Implement a function named determine_winner that determines the winner of a game based on the frequency of characters in a given string.
Functionality:
The function should accept a single string s as input.
It should calculate the frequency of each alphabetical character (from 'a' to 'z') in the string.
The function should then count how many characters have an odd frequency.
Based on the count of characters with odd frequencies:
If there are no characters with odd frequencies, return the string 'JACK'.
If the count of characters with odd frequencies is odd, return 'JACK'.
If the count of characters with odd frequencies is even and greater than zero, return 'DAVY JONES'.
Input/Output Requirements:
Input: A single string s (1 ≤ |s| ≤ 10^5), consisting only of lowercase letters (a-z).
Output: A string that is either 'JACK' or 'DAVY JONES'.
Implementation:
The solution must be written in a file named /app/solution.py. Implement the determine_winner function as per the specifications outlined above, and ensure the implementation is efficient given the constraints.