defmodule Main do
  def main do
  	alpha = IO.gets("") |> String.trim()
    
    cond do
    	upcase(alpha) ->
        	'A'
        true ->
        	'a'
    end
    |> IO.puts
  end
  
  defp upcase(x), do: String.upcase(x) == x
end