Solved Probelm #2-B