SRM 189 DIV2 300pts
Next: write paringDouble mth by myself