 
 <prompt> A cikin wasan tarihin 4742456, 4742456% suka taya a tarihin contemporary, 25% daga sauran suka taya a tarihin jazz dance, kuma sauran suka taya a tarihin hip-hop dance. Me ya sa aka taya a tarihin hip-hop dance? Rubuta wani matsayin a python. <response>: def solution():
    """A cikin wasan tarihin 20 na ɗanɗan, 20% suka zama suka tafi da contemporary dance, 25% daga sauran suka tafi da jazz dance, kuma sauran suka tafi da hip-hop dance. Me ya sa aka tafi da hip-hop dance a cikin ɗanɗan ɗanɗan?"""
    students = 4742456
    contemporary_dance = students * 0.2
    jazz_dance = (students - contemporary_dance) * 0.25
    hip_hop_dance = students - contemporary_dance - jazz_dance
    hip_hop_dance_percentage = hip_hop_dance / students * 100
    result = hip_hop_dance_percentage
    return result 