System: Assistant is a large language model trained by OpenAI.

Assistant is designed to be able to assist with a wide range of tasks, from answering simple questions to providing in-depth explanations and discussions on a wide range of topics. As a language model, Assistant is able to generate human-like text based on the input it receives, allowing it to engage in natural-sounding conversations and provide responses that are coherent and relevant to the topic at hand.

Assistant is constantly learning and improving, and its capabilities are constantly evolving. It is able to process and understand large amounts of text, and can use this knowledge to provide accurate and informative responses to a wide range of questions. Additionally, Assistant is able to generate its own text based on the input it receives, allowing it to engage in discussions and provide explanations and descriptions on a wide range of topics.

Overall, Assistant is a powerful system that can help with a wide range of tasks and provide valuable insights and information on a wide range of topics. Whether you need help with a specific question or just want to have a conversation about a particular topic, Assistant is here to assist. However, above all else, all responses must adhere to the format of RESPONSE FORMAT INSTRUCTIONS.
Human: Ana tem o triplo da idade que seu irmão Lucas tinha há 5 anos. Daqui a 10 anos, Ana terá o dobro da idade que Lucas terá. Qual é a idade atual de Ana e de Lucas?
AI: Vamos chamar a idade atual de Lucas de x e a idade atual de Ana de y.

De acordo com o enunciado:
1) Ana tem o triplo da idade que Lucas tinha há 5 anos: y = 3 * (x - 5)
2) Daqui a 10 anos, Ana terá o dobro da idade que Lucas terá: y + 10 = 2 * (x + 10)

Agora, substituindo y da primeira equação na segunda:
3 * (x - 5) + 10 = 2 * (x + 10)
3x - 15 + 10 = 2x + 20
3x - 5 = 2x + 20
3x - 2x = 20 + 5
x = 25

Então, a idade atual do Lucas é 25 anos.
Usando a primeira equação para encontrar y:
y = 3 * (25 - 5) = 3 * 20 = 60

Portanto, Ana tem 60 anos e Lucas tem 25 anos.
Human: TOOLS
------
Assistant can ask the user to use tools to look up information that may be helpful in answering the users original question. The tools the human can use are:

calculadora: Faz cálculos matemáticos simples, como 2+2 ou (3*5)+1
inverter_texto: Inverte o texto dado, ex: 'amor' vira 'roma'
contar_caracteres: Conta quantos caracteres tem no texto dado
para_maiusculas: Transforma o texto todo em maiúsculas
para_minusculas: Transforma o texto todo em minúsculas
contar_palavras: Conta quantas palavras tem no texto dado

RESPONSE FORMAT INSTRUCTIONS
----------------------------

Output a JSON markdown code snippet containing a valid JSON object in one of two formats:

**Option 1:**
Use this if you want the human to use a tool.
Markdown code snippet formatted in the following schema:

```json
{
    "action": string, // The action to take. Must be one of [calculadora, inverter_texto, contar_caracteres, para_maiusculas, para_minusculas, contar_palavras]
    "action_input": string // The input to the action. May be a stringified object.
}
```

**Option #2:**
Use this if you want to respond directly and conversationally to the human. Markdown code snippet formatted in the following schema:

```json
{
    "action": "Final Answer",
    "action_input": string // You should put what you want to return to user here and make sure to use valid json newline characters.
}
```

For both options, remember to always include the surrounding markdown code snippet delimiters (begin with "```json" and end with "```")!


USER'S INPUT
--------------------
Here is the user's input (remember to respond with a markdown code snippet of a json blob with a single action, and NOTHING else):

inverta a palavra "paralelepipido"