Please could you post the full code? Also please provide the input and output which you tried.