The solution to the EPR problem that Einstein would have liked rejecting 1 but retaining 2 was illegitimate

Can you repeat this sentence, but add in punctuation?
The solution to the EPR problem that Einstein would have liked, rejecting (1) but retaining (2) was illegitimate.