Module 2 help in task1 QBOX

I dont know how to get only integer .Please help me to get it because in requirememory kb is also printing with integer.
totalMemInKB=cat $1 | grep MemAvailable
Modification will be appreciated

When you try to run the ./<file_name.sh> /proc/meminfo
This /proc/meminfo is the command line args i.e $1

Although my output is same as per expected/Actual still im getting wrong

You might be storing a string instead of an integer value in the variable. Please make sure you are storing and Integer in the variables wherever necessary.