class A {
    static func solve() {
        let alpha = readLine()!
        let changed = alpha.uppercased()

        if alpha == changed {
            print("A")
        } else {
            print("a")
        }
    }
}

A.solve()
