// S++ -> Append the last character of S to the string S. // ++S -> Prepend the first character of S to the string S. // S+l -> Concatenate the string values S and S. // Here S = Task. // After the ...