Read two strings from stdin
.
Output Yes
if one string is a rotated version of the other.
Otherwise output No
Testcases
Input
CodeGolf GolfCode
Output
Yes
Input
stackexchange changestackex
Output
Yes
Input
stackexchange changestack
Output
No
Input
Hello World
Output
No
Stackexchange Stackchangeex
return? \$\endgroup\$No
. The rotation is a shift, like those LED scrolling signs \$\endgroup\$