http://josephus-problem-both-directions.appstor.io 2025-06-02 1.0