def translate(s: str, src: str, dest: str) -> str:
	"""
	Converts characters from `s` that appear in `src` with the
	characters at corresponding positions in `dest`
	"""
	if len(src) != len(dest):
		raise RuntimeError("impossible error")
	for a, b in zip(src, dest):
		s = s.replace(a, b)
	return s