Yubo Algorithm