This program: 1{p(X):#s(X)}1 should work.
This program:
1{p(X):#s(X)}1 should work.