Python2でCodeEvalのString Rotation

CodeEval

各行のカンマ区切りの2カラム目が、1カラム目の文字列をrotateさせたものであるかどうかをTrue、Falseで出力する。


input

Hello,lloHe
Basefont,tBasefon


output

True
True