Two dice are rolled once. Find the probability of getting such numbers on two dice whose product is a perfect square.