Can you please find problem with my logic