solved euler50