# MBPP 11 Write a python function to remove first and last occurrence of a given character from the string.