Input (grade 7): Pakistan joined the United Nations on 30 September, 1947.
Output (grade 7): Pakistan joined the United Nations on 30th September, 1947.