The correct grammatical position is next to, preferably before the word it qualifies:
ONLY he borrowed #10(i.e he, and no one else, borrowed)
He ONLY borrowed #10(i.e he did not seek the money as a gift, but merely borrowed it)
He borrowed ONLY #10(i.e he borrowed #10, and no more)
Either means any of two; any means any one of three or more.
Either (not any) of the two patterns is ok.
Any signifies only one; hence is comparatives and superlatives it cannot stand alone
‘Ijota” has a larger circulation than any other (not any) journal.
‘The Echo’ has the largest circulation of all newspapers (not any newspaper, since largest implies at least three things; any signifies only one).