输入正整数nnn,把整数1,2,…,n1,2,…,n1,2,…,n 组成一个环,使得相邻两个整数之和均为素数。
输入正整数nnn。
输出任意一个满足条件的环。
6
4 3 2 5 6 1
4≤n≤304≤n≤304≤n≤30
Using your Hydro universal account