solved birthdaycandles in C,Python,Java