three of the exterior angles of an n sided polygon are 50° each, two of its exterior angles are 127°and 135° and the remaining interior angles are 173°each. find the value of n