# Level 1: Inputs

In this section, you will find a step by step to manipulate basic inputs on Ritchie.

# Objective

On this tutorial, the idea is to teach you how to create a formula on Ritchie that will sum two positive numbers.

Command suggestion: `rit math sum numbers`

# Inputs

This formula needs to contain (at least) those two inputs parameters, see below:

1. Number one (`RIT_NUMBER_ONE`).

2. Number two (`RIT_NUMBER_TWO`).

# Step by step

The formula needs to follow the next steps:

1. Extract all inputs parameters.

2. Convert inputs to integers (there is currently no integer `type` in inputs config.json file).

3. Sum both numbers.

4. Return the result on the terminal.

Well done! You've completed the first task!

# Improvement suggestions

If you want to play a little more, here are some suggestions:

• Add a validation of the input parameters to return an error to the user if the parameter is not an integer.

• Allow the user to sum negative numbers with positive ones.

• Allow the user to digit decimals in addition to integers.

# Next steps

👉 If you've completed the first challenge, let's go to the level 2 task!
{"ft_lang_label":"__label__en","ft_lang_prob":0.8008625,"math_prob":0.71148723,"size":919,"snap":"2021-21-2021-25","text_gpt3_token_len":200,"char_repetition_ratio":0.122404374,"word_repetition_ratio":0.0,"special_character_ratio":0.21218716,"punctuation_ratio":0.123595506,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99514514,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-06-16T09:54:36Z\",\"WARC-Record-ID\":\"<urn:uuid:3944f5ad-7cae-40ed-8c22-18ee85e54341>\",\"Content-Length\":\"346509\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:30580514-f1a7-4e43-9da8-b251361fb6a0>\",\"WARC-Concurrent-To\":\"<urn:uuid:edca0802-f506-4b78-bbe4-a2b2bccf6d98>\",\"WARC-IP-Address\":\"104.18.1.145\",\"WARC-Target-URI\":\"https://docs.ritchiecli.io/challenges/level-1-inputs\",\"WARC-Payload-Digest\":\"sha1:QPSBCDACQ26M37VCCCBJ2R76YSMT72FR\",\"WARC-Block-Digest\":\"sha1:QEGPB75TWGUUQZ77QKOQSAHHIU5DNIWD\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-25/CC-MAIN-2021-25_segments_1623487623596.16_warc_CC-MAIN-20210616093937-20210616123937-00141.warc.gz\"}"}