牛客华为机试HJ31

原题传送门

1. 问题描述

2. Solution

import re  org = input().strip() words = re.split(r'\W+', org) words.reverse() print( .join(words))