processors =5
def a[11]
i=1
while i<11
{
	a[i]=i
	i++
}
thing%=pid*2
thing%--
println a[thing%]
thing%++
println a[thing%]