I'm trying to write a condition that says if "i" doesn't exist in the vector print 0 - meaning in this vector it should print just [3]
number_vector=c(1,5,26,7,94)
for (i in numbers_vector)
if ((i >24)&(i%%13 == 0)) {
print(which(numbers_vector==i))
} else {
print(0)
}