AMD Interview Question

prime problem;