Three identical particles are placed in the coordinate plane, at the points (-1,0), (1, 0), and (0, 1). They start from rest, and gradually fall together under the influence of gravity. Eventually, the particles all collide perfectly inelastically and come to rest. What is the distance from the origin to their final resting point?