import datetime as dt

def GitHubText(phrase, start_year, start_month, start_day):

	phrase = phrase.upper()
	start = dt.datetime(start_year, start_month, start_day) # Day BEFORE you want to start the word.

	cipher = {"A": [[2,3,4,5,6,7],[1,4],[1,4],[2,3,4,5,6,7],[None]],
			  "B": [[1,2,3,4,5,6,7],[1,4,7],[1,4,7],[2,3,5,6],[None]],
			  "C": [[2,3,4,5,6],[1,7],[1,7],[2,6],[None]],
			  "D": [[1,2,3,4,5,6,7],[1,7],[1,7],[2,6],[3,4,5],[None]],
			  "E": [[1,2,3,4,5,6,7],[1,4,7],[1,4,7],[None]],
			  "F": [[1,2,3,4,5,6,7],[1,4],[1,4],[None]],
			  "G": [[2,3,4,5,6],[1,7],[1,5,7],[2,5,6],[None]],
			  "H": [[1,2,3,4,5,6,7],[4],[4],[1,2,3,4,5,6,7],[None]],
			  "I": [[1,2,3,4,5,6,7],[None]],
			  "J": [[6],[1,7],[1,7],[1,2,3,4,5,6],[None]],
			  "K": [[1,2,3,4,5,6,7],[4],[3,5],[1,2,6,7],[None]],
			  "L": [[1,2,3,4,5,6,7],[7],[7],[None]],
			  "M": [[1,2,3,4,5,6,7],[2],[3,4],[2],[1,2,3,4,5,6,7],[None]],
			  "N": [[1,2,3,4,5,6,7],[2,3],[3,4,5],[5,6],[1,2,3,4,5,6,7,],[None]],
			  "O": [[2,3,4,5,6],[1,7],[1,7],[2,3,4,5,6],[None]],
			  "P": [[1,2,3,4,5,6,7],[1,4],[1,4],[2,3],[None]],
			  "Q": [[2,3,4,5,6],[1,7],[1,5,7],[2,3,4,5,6],[5],[None]],
			  "R": [[1,2,3,4,5,6,7],[1,4],[1,4],[2,3,5,6,7],[None]],
			  "S": [[2,3,6],[2,4,7],[2,4,7],[2,5,6],[None]],
			  "T": [[1],[1],[1,2,3,4,5,6,7],[1],[1],[None]],
			  "U": [[1,2,3,4,5,6],[7],[7],[1,2,3,4,5,6],[None]],
			  "V": [[1,2,3],[4,5,6],[7],[4,5,6],[1,2,3],[None]],
			  "W": [[1,2,3,4,5,6,7],[6],[4,5],[6],[1,2,3,4,5,6,7],[None]],
			  "X": [[1,7],[2,3,5,6],[4],[2,3,5,6],[1,7],[None]],
			  "Y": [[1],[2],[3,4,5,6,7],[2],[1],[None]],
			  "Z": [[1,6,7],[1,5,7],[1,4,7],[1,3,7],[1,2,7],[None]],
			  " ": [[None],[None]]}

	cipher_list = []
	for letter in phrase:
		cipher_nums = cipher[letter]
		cipher_list += cipher_nums
	cipher_list

	days = []
	for week in cipher_list:
		for day_num in week:
			if day_num != None:
				day = start + dt.timedelta(days=day_num)
				days.append(str(day).split(" ")[0])
		start = start + dt.timedelta(days=7)
	return days