The answer is 360 as rightly pointed by uday and Vaibhav. Rahul here you should appriciate the way uday solved the problem. A bit of applications at times can save you hell lot of time.
And what Vaibhav is saying is a general case solution for this problem. The 2! comes because you are taking A and E as identical.
Remember number of ways to arrange n things out of which r are identical is n!/r!