Have to implement the following task. Create the following table for simplicity:
We have input and table with defined rules. If any rule matches for this inpu