Task: Program Execution
Input (English): hearts, K, p
Output (English): heartsKp