solved problem38