"""
    Created by pausi
    04-10-20021
"""

# Rumus:
# Keliling = 2 x (Panjang + Lebar)

panjang = int(input("Panjang: "))
lebar   = int(input("Lebar: "))
hasil   = 2*(panjang+lebar)
print("Keliling: " + str(hasil))