#include <stdio.h>

int main() {

    int vote = 0;
    printf("Choose one of the following:\n");
    printf("1. Contestant 1\n2. Contestant 2\n3. Contestant 3\n");
    scanf("%d", &vote);

    if(vote == 1)
        printf("You have voted contestant 1\n");
    else if (vote == 2)
        printf("You have voted contestant 2\n");
    else if (vote ==3)
        printf("You have voted contestant 3\n");
    else 
        printf("Invalid input");

    return 0;
}