What is the trick to getting the valve cover off a /6 with AC?

Doing lots of stuff on my duster today, one thing I want to do is paint the valve cover and install a new gasket. Took a quick crack at it and I couldn't figure out how to snake the cover out. The AC hose is in the way. Advice?