/**
 * 旋转字符串
 * @param A string字符串 
 * @param B string字符串 
 * @return bool布尔型
 */
function solve( A ,  B ) {
    // write code here
    return A.concat(A).includes(B) && A.length === B.length
}
module.exports = {
    solve : solve
};