Thank you attempting this, however there are two issues in this, 1) it should be _n_ (underscore at the start and at the end of n) instead of n 2) this will work only for 1,3,5 and 7th observation, so it should be dynamic. Please see reply in comments by Prasd Nuthi.