Boil macaroni al dente in much salted water. Drain the water and cool macaroni.
Dice apple, shred chili and sweet peppers, cot onion into rings. Combine the products, add corn, beans and macaroni.
Mix mayonnaise, chopped garlic, ground peppercorn, salt, chopped greens to combine well and dress the salad with this mix. Cool for 10 minutes, garnish with greens when serving.