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