#include <stdio.h>
int main()
{
    int years_of_service;
    scanf("%d", &years_of_service);
    if(years_of_service >= 1 && years_of_service <= 5){
        printf("5%% Bonus.\n");
    }else if (years_of_service >= 6 && years_of_service <= 10){
        printf("10%% Bonus.\n");
    }else if (years_of_service > 10){
        printf("15%% Bonus.\n");
    }else {
        printf("Invalid input.\n");
    }
    return 0;