Input (grade 7): The state acceded to Pakistan on 7 October 1947.
Output (grade 4): The state agreed to become part of Pakistan on 7 October 1947.