const Main = input => {
    const array = input.split("");
    const result = new Set(array);
    if(array.length === result.size) {
        console.log("Good");
    } else {
        console.log("Bad");
    }
}
 
Main(require("fs").readFileSync("/dev/stdin", "utf8"));