defmodule Main do
  def main do
    IO.read(:line)
    |> String.trim()
    |> solve()
    |> IO.puts()
  end

  @doc ~S"""
  https://atcoder.jp/contests/abc175/tasks/abc175_a

  ## Examples

      iex> AtCorder175A.solve("RRS")
      2
      iex> AtCorder175A.solve("SSS")
      0
      iex> AtCorder175A.solve("RSR")
      1

  """
  def solve(s) do
   IO.puts s * 'ACL'
  end
end