from collections import * print('YES' if max(Counter(input()).values())==1 else 'NO')