<?xml version="1.0"?>
<flowgorithm fileversion="2.6">
    <attributes>
        <attribute name="name" value=""/>
        <attribute name="authors" value="Damian"/>
        <attribute name="about" value=""/>
        <attribute name="saved" value="2017-10-07 07:03:54 PM"/>
        <attribute name="created" value="RGFtaWFuOyBEQU1JQU4tUEM7IDIwMTctMTAtMDc7IDA2OjU0OjQyIFBNOyAyNTgz"/>
        <attribute name="edited" value="RGFtaWFuOyBEQU1JQU4tUEM7IDIwMTctMTAtMDc7IDA3OjAzOjU0IFBNOyAyNTgx"/>
    </attributes>
    <function name="Main" type="None" variable="">
        <parameters/>
        <body>
            <declare name="size" type="Integer" array="False" size=""/>
            <input variable="size"/>
            <declare name="counter" type="Integer" array="False" size=""/>
            <assign variable="counter" expression="0"/>
            <declare name="fib" type="Integer" array="True" size="size"/>
            <for variable="counter" start="0" end="size-1" direction="inc" step="1">
                <if expression="counter = 0 or counter =1">
                    <then>
                        <assign variable="fib[counter]" expression="counter"/>
                    </then>
                    <else>
                        <assign variable="fib[counter]" expression="fib[counter-2]+fib[counter-1]"/>
                    </else>
                </if>
                <output expression="fib[counter]"/>
            </for>
        </body>
    </function>
</flowgorithm>
