a - getting random suffixes and prefixes