Q. Let and . Then, the total number of non-empty relations that can be defined from to is

 5624  199 Relations and Functions Report Error

Solution:

Given and
Total number of relations from to
Total number of non-empty relations from to