isomorphic automorphism groups

As I am sure some of you may have noticed I'm doing a series of exercises by Rotman and I am finding difficulties. Now I unbeaten into this problem

Give an example of an abelian and a non-abelian group with isomorphic automorphism groups.

Can you help me?

-
Hint: this is surprisingly easy. –  Jack Schmidt May 19 '11 at 16:41
May be u can think of groups $G$ which has $|\text{Aut}(G)|=p$ for some prime $p$.Then u are through –  user9413 May 19 '11 at 16:51
@Chandru: that's not possible unless $p=2$, and even then, $G$ has to be abelian. –  Chris Eagle May 19 '11 at 16:55
@Chandru: please stop leaving unhelpful comments. It is annoying to indicate that a comment is incorrect because it is not possible to downvote comments so I would strongly recommend that you stop doing this or I may have to start deleting them. –  Qiaochu Yuan May 19 '11 at 16:57
Please don't yell. –  Arturo Magidin May 19 '11 at 17:35

Try $A=\mathbb{F}_2^2$, and $G=S_3$.
This is correct...but there's something about the question that unsettles me. I don't understand how the OP can be all out of ideas: to me, the obvious thing to try is just compute the automorphism groups of some small groups and see whether you get any coincidences. You learn a lot by doing this: e.g. it is probably more useful to know the automorphism groups of your $A$ and $G$ above than it is to know the answer to this specific question. If the OP didn't know to try this "technique", we should have told him/her (I think Jack Schmidt's comment was along these lines).... –  Pete L. Clark May 19 '11 at 17:32