Array int F[63]; has 63 elements. Valid subscripts range from 0 to 62 inclusive. But the code above attempts to assign a value to F[63].
63 is not a valid subscript, it is the 64th element, the element is outside the array. This will cause corruption of another area of memory with unpredictable results.
Suggested fix: increase the size of the array to int F[64];.