Hello @rutvijbrahmbhatt ,
you are using an IP extended ACL to decide which static routes to redistribute into OSPF.
This is not supposed to work correctly.
You should use a prefix-list instead
ip prefix-list ALLOWED permit 10.100.100.0/24
ip prefix-list ALLOWED permit 10.200.0.0/16 ge 18 le 24
route-map STATIC-INTO-OSPF permit 10
match ip address prefix ALLOWED
router ospf 77
redistribute static subnets route-map STATIC-INTO-OSPF
Hope to help
Giuseppe