The market went through a rough patch in the first half of 2022 as stocks went into sell-off mode due to rising inflation and higher interest rates. But stocks have been up in recent weeks since the June 16 low, with all the major averages on Friday ending their best month since 2020. In July, the public average The Dow rose 6.7%, while the S&P 500 and Nasdaq Composite gained 9.1% and 12.4%, respectively. Faster inflation and an aggressive Federal Reserve were the driving force behind much of the first half bear market. And, while fears of an increasingly aggressive Fed have begun to wane a bit, concerns about slower economic growth, if not outright recession, and central bank policy. persisted despite last month’s rally. That said, investors looking for opportunities can find value in some of the beaten-down names that have led the recent rally and stand to gain more. To find these resilient leaders, CNBC sifted through the names that have fallen by at least 20% between the start of 2022 and June 16, and have posted the biggest gains since that low. All names are popular with analysts and have more room to run, based on consensus price targets. Here are the top 20 companies that meet that criteria: United Rentals gained the most on the list in the weeks since June 16, with shares soaring 31.4% after falling 26.1%. A unified price target suggests the stock could rally another 21.4% from here. A slew of beaten tech stocks, including Amazon, also appeared. Shares of the e-commerce leader have rebounded more than 30% since June 16 after plummeting nearly 38% in the year to that point. Shares of the tech giant rose 10% on Friday after topping revenue estimates for the second quarter and offering upbeat guidance for the current three months. In the fintech sector, PayPal, which has seen its shares fall more than 70% from a 52-week high, also made the cut. Payments shares have lost more than half their value as of June 16, down 62%. Shares have rallied 21.5% since the market bottomed. Semiconductor and chip stocks have come under pressure as the sector grapples with ongoing supply chain troubles and a likely drop in consumer spending. While shares of Qualcomm are down nearly 34% through June 16, chip shares have rebounded more than 20% in the weeks since. In its recent quarterly earnings report, Qualcomm topped estimates for top and bottom profits but shared weaker-than-expected guidance for the current period. Based on the consensus price target, the stock could rally nearly 34% from here. Applied Materials also made the list. Other names to emerge include Boeing and casino stocks Caesars Entertainment and Penn National Gaming.