Two trolleys of masses m and 3m are connected by a spring. They are compressed and released, they move off in opposite direction and come to rest after covering distances s1 and s2 respectively. If the frictional force between trolley and surface is same in both the cases then the ratio of distances s1 : s2 is