Solution#2