测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A8883. Command Line Arguments

编程题 普及/提高-

题目描述

The single line contains a non-empty string $s$ . String $s$ consists of at most $10^{5}$ characters. Each character is either an uppercase or a lowercase English letter, or a digit, or one of the ".,?!"" signs, or a space.

It is guaranteed that the given string is some correct command line string of the OS Pindows. It is guaranteed that the given command line string contains at least one lexeme.

输入格式

In the first line print the first lexeme, in the second line print the second one and so on. To make the output clearer, print the "<" (less) character to the left of your lexemes and the ">" (more) character to the right. Print the lexemes in the order in which they occur in the command.

Please, follow the given output format strictly. For more clarifications on the output format see the test samples.

输出格式

无

输入输出样例

输入 #1
[{"input": ""RUn.exe O" "" " 2ne, " two! . " "", "output": "<RUn.exe O>\n<>\n< 2ne, >\n<two!>\n<.>\n< >"}, {"input": " firstarg second "" ", "output": "<firstarg>\n<second>\n<>"}]
输出 #1

                    
上一题 去做题 下一题