Implement a Python function that calculates the nth Fibonacci number using memoization to improve performance. The function should leverage a caching technique to store previously computed Fibonacci numbers, allowing for efficient computation for larger values of n.
Requirements:
Function Signature: The function must be implemented as follows:
python
def fibonacci_memoized(n):
...
Parameters:
n (int): The position in the Fibonacci sequence to compute. It should be a non-negative integer (0, 1, 2, ...).
Return Value:
The function should return the nth Fibonacci number as an integer.
Input/Output Examples:
fibonacci_memoized(0) should return 0.
fibonacci_memoized(1) should return 1.
fibonacci_memoized(5) should return 5.
fibonacci_memoized(10) should return 55.
Implementation:
Your solution must be written in a file located at /app/solution.py.
Ensure that your implementation handles the cache correctly and optimally computes Fibonacci numbers for larger values of n.