Find n, if the ratio of the fifth term from the beginning to the fifth term from the end in the expansion of