finished euler 49