Is ChatGPT a Good Recommender? A Preliminary Study