Problem1C updated