That really depends on what you plan to do with the laptop.
If you plan on doing any gaming, the A8 5545M is the hands down winner.
AMD's integrated graphics are miles ahead of Intel's affordable offerings.
For general office and productivity work, email, youtube, facebook, etc. both will offer a great experience.
You should get which ever machine costs the least and/or has the best build quality.
If you are planning on pushing a heavy workload through the machine you really need to look at the specific programs you plan to use.
If they are lightly threaded (do not fully load the processor), Intel's IPC advantage will result in higher performance.
For heavily threaded workloads (most photo/video and professional programs), AMD's processor will win most of the time, sometimes by a significant margin.
Personally, I would probably chose the AMD system for a more balanced experience.
Before you make a final decision though, you should make sure to take into account the build quality of both laptops (SSD or HDD, screen quality, keyboard feel, speakers, battery life, etc.).