Don't know why 3d and 4th conditions don't pass. Code is working ok.