print("KKCUPPCC"[open(0).readlines()[1].count(".#")-2::2])