def strChanger(s,a):
	sList = list(s)
	for x in a:
	    for i in range(len(s)):
	        if i+1 < len(s) and (i+1)%x == 0:
	            if ord(sList[i+1]) < 122 and ord(sList[i+1]) >= 90:
	                sList[i+1] = chr(ord(sList[i+1])+1)
	            elif ord(sList[i+1]) == 122:
	                sList[i+1] = chr(97)
	            elif ord(sList[i+1]) < 90 and ord(sList[i+1]) >= 65:
	                sList[i+1] = chr(ord(sList[i+1])+1)
	            elif ord(sList[i+1]) == 90:
	                sList[i+1] = chr(65)
	newS = "".join(sList)
	return newS
dataset/ETHPy150Open EasyCTF/easyctf-2015/api/program-data/generators/string-change.py/strChanger/original