System.in.eachLine{println it=~/c\PS|[^1],2|3$/?"same":"different"}