This are the codes witten in my own way if you can able to optimize the lines then go for it :). You can add a switch case to run programs according to given number ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する