i;main(n){for(scanf("%d",&n);n/++i;)puts(i+~n/2?" +"+4-n/2:"+++++++++"+9-n);}