<reponame>zi-NaN/algorithm_exercise
#!/bin/python3

import math
import os
import random
import re
import sys

# Complete the solve function below.
def solve(meal_cost, tip_percent, tax_percent):
    # round it to the nearest 
    print(int(meal_cost*(1+tip_percent/100+tax_percent/100)+0.5))

if __name__ == '__main__':
    meal_cost = float(input())

    tip_percent = int(input())

    tax_percent = int(input())

    solve(meal_cost, tip_percent, tax_percent)
