Write two scripts(must be titled “primeSumLoopS†and“primeSumCallSâ€) in MATLAB that prompts the user to enter aninteger x that 2< x <10000, then the program calculates anddisplays the sum of the all the prime numbers that are smaller thanor equal to x. For example, if x is 11, then the output is 28,which is 2+3+5+7+11. Use two methods: the 1st script uses nestedloop and the 2nd script calls another function, primeF.