Parteek sir and coding problem

https://ide.geeksforgeeks.org/QQ1LirCDHd----My code is running perfectly fine for the sample input but upon submission is is showing error, athough i think my logic is correct. So, what’s the error in the code ?

@AbhishekAhlawat1102,

While printing “No Code” the ‘C’ should be capital. Rest your code is correct.