#146. startOz
startOz
Background
Description
Given a string, return a string made of the first 2 chars (if present), however include first char only if it is 'o' and include the second only if it is 'z', so "ozymandias" yields "oz".
Format
Input
Output
Samples
ozymandias
"oz"
bzoo
"z"
oxx
"o"
Limitation
1s, 1024KiB for each test case.