1
This is what Algorithm
P
2
does.