program :- 


write(s(X)).

check('7', '2') :- !.