solve a012