You are required to implement a function that computes the safe position in the classic Josephus problem. The Josephus problem is a theoretical problem related to a certain elimination game that can be solved using recursive techniques.
Functionality to Implement
Create a function named find_safe_position that takes two integer parameters:
n: The total number of people arranged in a circle.
k: The step count for elimination.
The function should determine and return the safe position of the last remaining person in the circle after repeatedly eliminating every k-th person.
Input/Output Requirements
Input:
An integer n (1 ≤ n ≤ 10^6): Represents the number of people.
An integer k (1 ≤ k ≤ 10^6): Represents the step count for elimination.
Output:
The function should return an integer which represents the safe position (1-based index) of the last person remaining in the circle.
Implementation Details
Your implementation should be done in the provided file: /app/solution.py.
Ensure that the implementation correctly handles cases with minimum and maximum constraints as specified above.
Example Usage
python
result = find_safe_position(7, 3)
print(result) # Output should be 4, meaning the safe position is the 4th person.
Implement the function as described and ensure it meets the input/output requirements specified.