Refactor phucaptrachnhiem and hesoluong become double.