main=interact f f x=drop(mod 5665$length x-3)x